{ "cells": [ { "cell_type": "markdown", "metadata": { "collapsed": false }, "source": [ "# Hearts for Valentine's Day\n", "\n", "See this code as a Sage worksheet: https://cocalc.com/projects/1209def0-246c-43fd-b6c4-ae2804a3a6ac/files/Public/hearts.sagews\n", "\n", "See also: a rose, contributed by Andrzej Chrzeszczyk: https://cocalc.com/wstein/support/rose\n", "\n", "Sources:\n", "\n", "- SageMath [implict_plot3d](http://doc.sagemath.org/html/en/reference/plot3d/sage/plot/plot3d/implicit_plot3d.html)\n", "- wikipedia [cardioid as inverse curve of a parabola](https://en.wikipedia.org/wiki/Cardioid#Cardioid_as_inverse_curve_of_a_parabola)\n", "\n" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": "\n