Unexpectedly Intriguing!
14 February 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?...

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

Labels:

About Political Calculations

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

Thanks in advance!

Recent Posts

Indices, Futures, and Bonds

Closing values for previous trading day.

Most Popular Posts
Quick Index

Site Data

This site is primarily powered by:

This page is powered by Blogger. Isn't yours?

CSS Validation

Valid CSS!

RSS Site Feed

AddThis Feed Button

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.

Other Cool Resources

Blog Roll

Market Links

Useful Election Data
Charities We Support
Shopping Guides
Recommended Reading
Recently Shopped

Seeking Alpha Certified

Archives