Math Help - Teardrop Shaped Figure 8
Posted: Sat Feb 26, 2011 9:08 pm
I'm trying to draw a figure8 shape from code (like in this picture below). Any ideas? I couldn't afford to pay attention in geometry and now I need it.
It's the formula part that I"m lost on. I'm not sure how to create the plot points with the given equation.
- this is the equation for Lemniscate of Bernoulli curve -
Cartesian equation:
(x^2 + y^2)^2 = a^2(x^2 - y^2)
Polar equation:
r^2 = a^2 cos (2θ)
[img]
http://www-history.mcs.st-and.ac.uk/Cur ... scate1.gif
[/img]
It's the formula part that I"m lost on. I'm not sure how to create the plot points with the given equation.
- this is the equation for Lemniscate of Bernoulli curve -
Cartesian equation:
(x^2 + y^2)^2 = a^2(x^2 - y^2)
Polar equation:
r^2 = a^2 cos (2θ)
[img]
http://www-history.mcs.st-and.ac.uk/Cur ... scate1.gif
[/img]