More

HuffPost Social Reading

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

Google Graph

The Huffington Post   First Posted: 02/14/2012 1:18 pm Updated: 02/14/2012 1: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
PLAY
FULLSCREEN
ZOOM
SHARE THIS SLIDE 
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.

FOLLOW HUFFPOST TECH

 
 
  • Comments
  • 6
  • Pending Comments
  • 0
  • View FAQ
Post Comment Preview Comment
To reply to a Comment: Click "Reply" at the bottom of the comment; after being approved your comment will appear directly underneath the comment you replied to.
View All
Recency  | 
Popularity
photo
HUFFPOST SUPER USER
JackHoffman
Pundit
04:03 AM on 02/15/2012
What's the equation for porn sites?
07:55 PM on 02/14/2012
At least they made math seem cool for once!
This user has chosen to opt out of the Badges program
photo
Marc Driftmeyer
Mechanical Engineer and Computer Scientist
04:55 PM on 02/14/2012
Google's Heart Graph? It's basic Trigonometry in polar coordinates.
photo
jokamachi
You're doing it wrong.
03:37 PM on 02/14/2012
Small consolation for the nerds who won't be getting laid tonight. Oh well. Maybe they can spank it in their cubicles....
03:48 PM on 02/14/2012
Make sure you turn on your webcam so we can watch you.
photo
HUFFPOST COMMUNITY MODERATOR
J0E1
Phil Hill 2012
04:11 PM on 02/14/2012
Virgin alert... Virgin alert...