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
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
- Math Formula Explains Geek's Dating Drought
- Picking the Right Date for Valentine's Day
- Should You Become Intimate with a Co-Worker?
- The Indisputable Inter-Age Rule for Dating
- Men: What's Your Sex Appeal?
- Men: Are You Old Enough to Propose Yet?
- Are You Whipped?
- Should You Get Married?
- What Are the Chances that Your Marriage Will Last?