Tech Dreams

Use Google to wish your valentine in a geeky way

Even though I’m not a fan of Valentine day celebrations, I love Google search engine’s hidden gem that let you express your love through a simple search query. If your valentine is a geek for sure he/she would be surprised to see this.

google_search_valentine_greeting

To try this on your own you can copy past the following in Google search bar

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

Why Google renders a heart shape for this query?

The sample query given above is a algebraic expression that plots several shapes to create a heart graph. If you remember high school mathematics it would be very easy to decipher the equations and understand how the shape is drawn. If you don’t remember, like me, never mind just enjoy this geeky greeting and share with the people whom you love. via labnol.