I'm glad you missed me. I was partying nonstop on Pi Day, and enjoying a re-read of
last year's thread. Remember, if you celebrate pi day for 365 days a year (366 this year), then you'll always be happy!
I will give you an amazing pi fact in honor of this year's Pi Day. Can you compute an integer using roots, multiplication, and exponentiation of irrational numbers, including our friend pi? It sounds impossible unless you somehow cancel out the irrationals, right?
Well, try these steps using Calculator.app:
- Select View->Scientific (or press Command-2).
- Press MC to clear memory.
- Press 640320 then X^3 then + then 744 then = to compute 640320^3 + 744.
- Press M+ to store that number, which is obviously an integer, in memory.
- Enter 163. This is a prime number.
- Press square root. The square root of 163 is an irrational number.
- Press x then pi then = to multiple by pi, another irrational. The result is also irrational.
- Press the e^x key to exponentiate. You have computed e^(sqrt(163) x pi).
- That's clearly irrational. Or is it?
- Press M- to subtract this result from the integer in memory.
- Take a deep breath.
- Press MR to recall the result.
- What do you see? Flat 0! An irrational raised to the power of an irrational times an irrational, minus an integer!
Nothing canceled out the irrationals (see Note below), and it's not a bug in Calculator. I'm sorry if you will now be up all night worrying that the laws of mathematics have been repealed and, if not, whether poor Doctor Q will be arrested for breaking them.
Note: It's true that e^(pi x i) = -1, so using complex powers of e can "cancel out" irrationality, but e^pi is known to be irrational.