Unexpectedly Intriguing!
February 14, 2012

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?...

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

Labels:

is good for you

Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:

ironman at politicalcalculations.com

Recent Posts

Applications

This year, we'll be experimenting with a number of apps to bring more of a current events focus to Political Calculations - we're test driving the app(s) below!

Most Popular Posts
Quick Index

Site Data

Visitors since December 6, 2004:

#### JavaScript

The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.