18

i don't remember where exactly, i found in internet this image: beautiful curve

i tried to replicate the formula with python and i tried this:

b = 0.9
y = 2*b + sqrt(x*x) + sqrt((x+b)*(3*b-x))
y1 = 2*b + sqrt(x*x) - sqrt((x+b)*(3*b-x))
plot(x,y, x, y1)

where sqrt is the square root!

but my curve is not very similar to the picture.. mayebe i'm not able to read it because of it is handwritten. some help?

t.b.
  • 78,116
nkint
  • 1,823

2 Answers2

33

I did it in Maple...

heart

Vary b to change the picture.

GEdgar
  • 111,679
  • ok thanks it is perfect! and can i ask you also some little comment about the kind and analysis of this formula? – nkint Oct 31 '11 at 09:25
1

$\sqrt{x^2}$ is the same thing as $|x|$, the absolute value of $x$, whose graph has a sharp corner. When I plot exactly the first equation you wrote above, what I get is quite similar to the part of the graph above the two left and right vertical tangents. But it doesn't have a vertical tangent at the cusp in the middle, although it does have a sharp corner there.