Valentine's Day 2012 Special: Google This for a Mathematical Surprise
With the Valentine's Day approaching, love is already in the air.
If you are a math geek and your better half thinks you are a nerd because of your obsession with mathematics, don't fret. The very same numbers and equations can help you impress your loved one.
A new Google trick has emerged a few days before the Valentine's Day that will allow romantic math geeks to offer a heart made of numbers and equations to their beloved. To know how, type (or paste) the following into Google search:
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
The series, including square roots, absolute values and cosine functions, will form the shape of a heart in deep blue. Twitter user @Huckberry shared the trick by posting it on his Twitter page.
Because of the absolute value function flipping the sign of the x-coordinate, the plotted lines change direction and form a mirror image diagonally the y-axis.
The cos(300x) part in the formula makes the line go up and down quickly. If the number 300 in the equation is changed to 100, it will show how the blue line traces out the interior of the heart - higher the number, higher the rate of frequency of the blue line, filling up the heart.
Try it!
© Copyright IBTimes 2024. All rights reserved.