Google has a Valentine Day equation for you! | Mana Blog... for all
Feb 11, 2012

Here's a trick to impress your Valentine. Just type in this maths equation in the Google searchbar: "sqrt(cos(x))*cos(300x)+sqrt(abs(x))-0.7)*(4-x*x)^0.01, sqrt(6-x^2), -sqrt(6-x^2) from -4.5 to 4.5" and wait for the magic to unfold.

A beautiful heart appears on your screen, sans paint or brush. The only catch is that it works inGoogle Chrome and does not support Internet Exlorer.

According to Mashable which was tipped about the trick by a user, "The "cos(300x)" part of the formula was also written to make the line go quickly up and down as it traces out the interior of the heart. This creates the colored-in effect. Meanwhile, if you change the "300" number in the equation to "500," the color fills up the heart. That part of the formula is related to frequency."