| New Reply |
Calculator giving weird answers? |
Share Thread |
| Feb25-12, 05:18 PM | #1 |
|
|
Calculator giving weird answers?
For sin(4pi), my calculator gives -2^-13.
Obviously, that is really close to the correct value of 0, but it just says 0 for ANY other multiple of pi I've tried. Weird right? TI-83 plus.. common calculator. Anyone have issues like this? |
| Feb25-12, 05:28 PM | #2 |
|
|
Ha! Just tried it on my TI-83+ (from 1997), and it shows the same thing. Says the same for Sin4pi. Sin6pi returns 2E-13, and sin8pi returns -4E-13.
My TI-36X Pro, which I use almost exclusively now, returns 0. |
| Feb25-12, 05:31 PM | #3 |
|
|
Yep, I get those same results as you, never tried those, so my capital ANY was not a very meaningful "ANY," heh.
When it showed this error, I actually decided to graph "sin x" on it, then find the value when x = 4pi.. still returns -2e-13 that way. Weird. |
| Feb25-12, 05:31 PM | #4 |
|
|
Calculator giving weird answers?
Welcome to the joys of floating point arithmetic.
|
| Feb25-12, 06:08 PM | #5 |
|
hmmmm transcendentals likely calculated by a series...
and 10-13 is about 1/(2^43) i'm guessing their internal binary arithmetic is good to ~43 bits. Anybody got an old HP31? old jim |
| Feb25-12, 06:20 PM | #6 |
|
|
It must be doing the 4*pi calculation first, incorporates some rounding error, then takes the sin of that.
|
| Feb25-12, 09:10 PM | #7 |
|
|
|
| Feb25-12, 10:10 PM | #8 |
|
|
Try 8 pi.
|
| Mar9-12, 07:21 PM | #9 |
|
|
um, so, I was kind of bored this evening and I saw this thread. Since I love excel and graphs... and numbers, I just started punching multiples of pi into my TI- 83 Plus calculator and noting down the results from 1pi to 100pi.
I got these graphs the first is the whole shebang, the second is a zoom in on the first portion of the graph it's interesting I guess, but I don't know enough about calculators to have any idea of why it does it like this. I'm gonna keep going, since I have nothing else to do tonight, and see what happens on out from 100pi. also there is the excel file if anyone feels like looking at the numbers and messing with them |
| New Reply |