iOS app Android app More

Google 'Heart Graph': Geeky Surprise Will Bring You Joy On Valentine's Day (PICTURES, VIDEO)

The Huffington Post   First Posted: 02/14/2012 12:18 pm Updated: 02/14/2012 12:18 pm

Sure, there's no real equation for love, but there is a pretty useful one that'll make you feel loved by Google.

Simply type the following function into Google's search bar...

(sqrt(cos(x))*cos(400*x)+sqrt (abs(x))-0.4)*(4-x*x)^0.1

...and -- voila -- Google will give you its heart, in a manner of speaking.

Take a look at the picture (below) to see the special image that appears when you query Google with the right equation.

Mashable wrote about this goodie last week after Twitter user @Huckberry tweeted about the fun function, which the user called a "nerd heart" equation.

This awesomely geeky heart-shaped graph is made possible by Google's addition of graphing functionality to its search bar, which the web giant announced last December.

According to Geekosystem, "the [...] feature covers a wide range of single variable functions, including exponential, trigonometric, logarithmic and their compositions."

In other words, with these mathematical capabilities, you can also graph fun images like the Batman symbol, for example. (See below.)

To find out how to create these and more fun pictures using Google's graphing feature, visit Digital World or watch the video below. Think you can create your own cool function?

Check out the slideshow (below) to view some of the coolest surprises buried deep within the Google algorithm.

Let It Snow
1  of  12
When you type "let it snow" into the search bar, Google sends a shower of snowflakes down your screen. But watch out! It gets frosty fast. If that happens, just use your cursor like an ice scraper or click "defrost." It's a good way to prepare for those frosty mornings in the car.