Google's Valentines Day surprise


Google's Valentines Day surprise


It is the moment for the romantic math geeks. The spirit of Valentines Day is increasing as the celebration of love comes closer. Now, go to the Google homepage and past the following equation in the search box.

sqrt(cos(x))*cos(300x)+sqrt(abs(x))-0.7)*(4-x*x)^0.01, sqrt(6-x^2), -sqrt(6-x^2)

@Huckbberry, a Twitter user has tipped this fact that typing the above algebraic equation will display a graph that displays the shape of heart on the screen.

The equation includes several absolute values, square roots and cosine functions that are mathematical functions often encountered in high school courses.

The lines that are plotted will change the direction due to the flipping of the x coordinates to the y-axis forming a mirror image.

The equation has the cosine function to trace out the heart's interior by going up and down quickly. This is responsible for the colored in-effect. When the value 300 is replaced by 500, the color fills up completely in the heart.

The equation was not written by Google but the search engine has already let users enjoy other easter eggs to enjoy seasonal surprises like Do a barrel roll and Let it snow.

Most Read Articles
Best Mobiles in India

Stay updated with latest technology news & gadget reviews - Gizbot

Notification Settings X
Time Settings
Clear Notification X
Do you want to clear all the notifications from your inbox?
Yes No
Settings X
We use cookies to ensure that we give you the best experience on our website. This includes cookies from third party social media websites and ad networks. Such third party cookies may track your use on Gizbot sites for better rendering. Our partners use cookies to ensure we show you advertising that is relevant to you. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on Gizbot website. However, you can change your cookie settings at any time. Learn more