Mathematica can use ContourPlot to draw implicit Cartesian equations, but doesn't seem to have a similar function to plot an implicit polar equation, for example
$\theta ^2=\left(\frac{3 \pi }{4}\right)^2 \cos (r)$
What's the best way to do this?
|
Mathematica can use $\theta ^2=\left(\frac{3 \pi }{4}\right)^2 \cos (r)$ What's the best way to do this? |
|||||||||
|
|
Since
which produces
The advantage of this method is that it also works for coordinate transformations for which the inverse transformation is hard to find. |
|||||||||||||
|
|
Does this
work? Plot:
|
|||||
|
|
You can do something like this:
|
|||||
|
|
|
If you allow negative radii, there's another entire half of the solution:
|
|||
|
|
|
All the other three solutions use
This makes use of the fact that the solution to $\theta^2=\displaystyle\left(\frac{3\pi}{4}\right)^2\cos(r)$ is $$r=\pm\arccos\left(\frac{16\theta^2}{9\pi^2}\right)+2\pi n,\ n\in\mathbb{Z}$$ |
||||
|
|