LOVE +MATH = can you read this formula?

4k Views Asked by At

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?

2

There are 2 best solutions below

1
On BEST ANSWER

I did it in Maple...

heart

Vary b to change the picture.

0
On

$\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.