Selasa, 14 Februari 2012

Happy Valentine's Day!

Would you like to send your significant other a specially coded transmission for Valentine's Day?



If so, then yes, you're a complete geek. But then, they already knew that about you, didn't they?...



So what about this special Valentine's Day code? Well, first, here it is:

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



Now, what you have your significant other do is enter it into Google for a special result. (Click here if you want to see it directly for yourself!)



The IBT's Kukil Bora explains how it works:




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.




Previously on Political Calculations



Tidak ada komentar:

Posting Komentar