News for hackers. Stuff that matters.

mathpupil

Re:How to Tell a Mathematician You Love Them (2017) on Thursday February 13, 2020 @09:35AM (#22317994)
For the math geeks out here, can someone help me out with these two equations for Valentine heart - https://news.ycombinator.com/item?id=22317969?
Re:How to Plot Valentine Heart with Python and Matplotlib on Thursday February 13, 2020 @09:33AM (#22317969)
That was fun! Liked the bit about XKCD plots too. The two equations used are:

y1 = sqrt(1 - |x|) * sqrt(|x|)

y2 = (-3/2) * sqrt(1 - sqrt(x))

Can someone explain me how to find these equations? I would like to use these equations but it would be good to know what they mean before I use them. :-)