Trigonometric Functions for the HP38C/HP12C

07122017, 05:00 PM
(This post was last modified: 07122017 05:03 PM by Gerson W. Barbosa.)
Post: #16




RE: Trigonometric Functions for the HP38C/HP12C
(07122017 03:17 PM)tiptongrange Wrote:(03252016 04:51 AM)Gerson W. Barbosa Wrote: Unfortunately more digits won't help here. In order to improve the accuracy you would need more constants, but then this wouldn't be possible on the HP12C/38C using this approach, given their limited memory. I was able to get much better accuracy and functionality on the HP12C Platinum whose 20 registers are always available, even when all 400 programming steps are fully used: This was meant to preserve the original X register. From the linked article: 2) sin²(30) + cos²(30): Notice that the stack register X is always preserved, so there's no need to store intermediate results in simple chain calculations (onelevel only), as in this example. Keystrokes Display 30 R/S 0.500000000 g x² 0.250000000 30 g GTO 090 R/S 0.866025404 g x2 0.750000000 + 1.000000000 Regards, Gerson. 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)