4 ms·
Basically, this app tries guess whether a floating point number specified by the user can be expressed as some multiple of pi, e or one of the other important m
by ivan_ah 14y ago
Basically, this app tries guess whether a floating point number specified by the user can be expressed as some multiple of pi, e or one of the other important math numbers.
ex: You want to calculate 150[degrees] in radians. Simple you say, just convert using your calculator: 150 [degrees] = 2.35619449019 [rad].
However On an exam/homework you would lose marks for this answer since it is not given "the right way" (as a fraction of pi). Using this app you can find out that 2.35619449019 [rad] = (3*pi)/4 [rad] and get all points.
Cool.
- wtallis 14y agoDefinitely cool, even though it's overloaded at the moment. The HP-48 series calculators and their successors have commands to convert from floating point to the approximately equivalent rationals or fraction of pi, but not exponentials or radicals or anything else like that. The tolerance for the approximation is determined by how many digits of the floating point number the calculator is set to display, so if you know the denominator is supposed to be small, you can force the calculator to produce the right answer even if you have relatively few decimal digits to work with or if there's a lot of rounding error.
- rom16384 14y agoI prefer RIES [1], that does pretty much the same thing. You can download its source code (C, GPL licensed) [2] or try it on the webpage. Oblig. (relevant) xkcd [3]. [1] http://mrob.com/pub/ries/index.html http://mrob.com/pub/ries/index.html [2] http://mrob.com/pub/ries/src/ries.c.txt http://mrob.com/pub/ries/src/ries.c.txt [3] http://xkcd.com/1047/ http://xkcd.com/1047/
- pash 14y ago150/360 = 5/12, so 150 deg = 5pi/6 rad. Clearly we could use this calculator. :P