Monday, January 02, 2017

Love Mathematics

1. Go to
http://sagecell.sagemath.org/

2. Copy and paste the following Sage code into the box:


t = var('t')
parametric_plot( [sqrt(2)*cos(t), sin(t) + (3/4)*sqrt(abs(cos(t)))],
                [t,0,2*pi],aspect_ratio=1,fill=true,axes=false,
                thickness=4, color='red',plot_points=2000,
                fillcolor='pink'
               )


3. Press Evaluate.

4. How can you hate that?

(I'm happy to acknowledge that the idea comes from
an equation in Harun Siljak's book, Murder on the
Einstein Express and Other Stories.)