Google's Valentine's Day Surprise

By siliconindia   |   Friday, 10 February 2012, 23:20 IST   |    3 Comments
Printer Print Email Email
v day surprise

Bangalore: For all romantic people who hate maths, did you ever know the fact that maths can do wonders for you?

Type or copy this Mathematical equation on Google and see for yourself.

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

This interesting fact was tweeted by Twitter user Huckberry. The algebraic equation, which makes a perfect heart shaped graph, is a combination of various mathematical functions that you might have studied in your high school.

The “magic” in the graph was performed by the absolute value function flipping the sign of x coordinate, changing the direction of plotted lines and creating a mirror image across y axis.

The Cosine part of formula is related to frequency. If you change the number 300 in “cos (300x)” part to 500, frequency rise and the color fills up the heart, while reducing the value of 300 makes graph lose its richness.

Even though Google didn’t wrote this graph, the users come up with lot of keywords like this which gives a “surprise search result.” Try these words like askew, Google gravity, Mentalplex, Google.com/pacman and hit “I’m feeling lucky” button and you can see the various funny results.

But math geeks, for the time being, send this equation to the one you love as a surprise gift on Valentine’s Day.