Calculators TI-84 Rounding Error in Fraction Mode

Click For Summary
SUMMARY

The TI-84 calculator exhibits rounding errors in fraction mode, particularly when calculating values like ##\tan\left(\frac{5\pi}{6}\right)##. A student encountered a discrepancy between the expected value of ##-.5773502692## and the calculator's output of ##-.5773502688##. This issue arises due to the calculator's fractional resolution limitations, which may truncate or round values differently compared to decimal mode. The TI-84's fraction resolution is likely around 10^13, equating to 1/8192, affecting precision in calculations involving irrational numbers.

PREREQUISITES
  • Understanding of trigonometric functions and their calculations
  • Familiarity with the TI-84 calculator's modes and settings
  • Basic knowledge of numerical precision and rounding errors
  • Awareness of fractional resolution in computational tools
NEXT STEPS
  • Investigate the TI-84 calculator's documentation on fraction and decimal modes
  • Learn about numerical precision and rounding in computational mathematics
  • Explore the algorithms used in calculators for trigonometric functions
  • Research the differences in resolution between various calculator models, such as the HP 35s
USEFUL FOR

Mathematics educators, students using the TI-84 calculator, and anyone interested in understanding rounding errors in computational tools.

DrewD
Messages
528
Reaction score
28
I had a student calculate ##\tan\left(\frac{5\pi}{6}\right)## on a TI-84 calculator and he had a rounding error in the 6th or 7th decimal place. This isn't really a big deal, but he asked and we quickly found out it was because he was in fraction display mode.

I don't know too much about computational methods so I have no idea what algorithms might be by TI that would make this error occur in this situation. I am never going to ask the students for more than 4 decimal places and they know enough about rounding errors to realize that it can happens, but I am personally interested in figuring out what error makes this happen.

Thanks.
 
Computer science news on Phys.org
Will you please post the numbers that you are getting?... The correct one and the one with the rounding error?
 
One explanation could be the same as the Hp 35s. It can only resolve fractions down to 2^10 ie 1/1024. Any decimals finer than that resolution are either rounded up or down to the closest fraction to this value which means that the resolution is only 5 or 6 places.

The Ti-84 probably has fraction resolution to 10^13 which would = 1/8192, perhaps 10^15 = 1/32768.
 
Thanks for the responses. Sorry it took me so long to get back.
The rounding error I get is ##\tan\left(\frac{5\pi}{6}\right)=-.5773502688## and the other answer (I think correct) is ##-.5773502692##. When I just compute ##\frac{5\pi}{6}##, I get the same answer whether the calculator is in fraction or decimal mode. I assume that it must truncate or round earlier when in fraction mode, but it is off screen and just magnified by the tangent function. It just seems odd to me that one mode would have more precision than the other but both would print decimals in the end.
 
That's 4 in the very last digit. A rounding error in the last digit is not that surprising.
 
I'm not surprised that there was a rounding error, I was just interested to know why there was a rounding error when the calculator was in fraction mode which otherwise didn't change anything. I was just wondering what about fraction mode would cause additional errors in a calculatiin that didn't involve any rational numbers.
 
The calculation will differ in some way that is probably hard to understand without the source code (and maybe even with it).
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
22K
  • · Replies 12 ·
Replies
12
Views
5K
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
24K
  • · Replies 36 ·
2
Replies
36
Views
63K