
Discussion BoardsOpen MenuDiscussion Boards Open Menu

BlogsOpen Menu

Beware of fake HP SupportOpen MenuBeware of fake HP Support Open MenuBe alert for scammers who may be posing as HP representatives and only call numbers from people who have a label next to their screen name. If you think you have received a fake HP Support message, please report it to us by clicking on the blue “Report Inappropriate Content” button above the message. Thank you!
 HP Support Forum Home
 >
 Tablets
 >
 Calculators
 >
 Re: HP Prime calculating bug
 Subscribe
 Mark Topic as New
 Mark Topic as Read
 Float this Topic to the Top
 Bookmark
 Subscribe
 Printer Friendly Page
HP Prime calculating bug
[ Edited ]
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Email to a Friend
 Report Inappropriate Content
12072013 12:11 PM  edited 12072013 12:16 PM
Hi, I'll get right to the issue i'm having with my HP Prime calculator. Recently during an exam where i was calculating the moments of inertia of certain bodies i encountered what i can only describe as a bug in the software because I can't figure any other reason why it would kick out the answer it did for such a seemingly simple function. After I had done all the laboreous work of simplifying the differential equations I just needed to add some simple fractions. As i have been operating this calculator for several weeks now, the only way i can get it to show a fraction in exact form is to type (number) / (number) and it shows it in exact form. In my case and for this particular calcuation I input (3/20)  (1/7) "enter". the answer Prime gave me was noticably unsimplified given that i needed it in simplified form. although the numerical, nonexact value was almost correct (.00714285714309 instead of the correct value of .00714285714286), generally Prime kicks out a simplified value. What it gave me was 214500215/30030030099 instead of 1/140. i'm just curious if i need to do something different to get a simplified/correct answer on the first go rather than having to do a workaround.
Thanks in advance
Re: HP Prime calculating bug
 Mark as New
 Bookmark
 Subscribe
 Subscribe to RSS Feed
 Highlight
 Email to a Friend
 Report Inappropriate Content
12072013 04:35 PM
If you want an exact and simplified answer on the first go, do your calculation in CAS view rather than Home view. Try this experiment.
1. Go to CAS view, and enter your calculation (3/20)(1/7). The Prime will respond with 1/140, the exact answer. Now press the a b/c key. The Prime will respond with 0.00714285714286, the approximate decimal equivalent. Keep pressing the a b/c key, and the Prime will toggle between the two answers.
2. Now try the same steps in Home view. The Prime will toggle between 0.007142857143 and 214500215/30030030099.
Remember, the true decimal value for 1/140 is an infinite repeating number. Since every calculator can store only a finite number of digits, it must truncate the value after a set number of digits, and this introduces a small error. The big fraction you got in Home view is not wrong, and it's certainly not a bug. It's just that Home view is not designed to handle exact values. The CAS, on the other hand, is designed to handle exact values, so when you tell it to show an approximate answer, its decimal form will be closer to the exact value, namely, 1/140.
The moral of the story is, use CAS view when you want exact values and Home view when you want approximate values. I tell my students to use fractions whenever possible (since those are usually exact) rather than converting them to decimal values. It's far easier to use 1/3 than 0.33333....[infinite number of 3s go here].