Post Reply 
[HP 35s] Hosoda trig program giving incorrect answers to certain angles
08-05-2015, 02:36 PM (This post was last modified: 08-05-2015 04:30 PM by Marcio.)
Post: #1
[HP 35s] Hosoda trig program giving incorrect answers to certain angles
Hello all,

After clearing all variables and registers, I noticed that Hosoda gives wrong answers to certain angles (cosine) on my 35s:
\[
\begin{matrix} & Hosoda & 35s & 34s & 50g \\ 5\frac { \pi }{ 180 } & 9.96194698092E-1 & 9.96194698092E-1 & 9.96194698092E-1 & 9.96194698092E-1 \\ 75\frac { \pi }{ 180 } & 2.58819045098E-1 & 2.58819045098E-1 & 2.58819045103E-1 & 2.58819045108E-1 \\ 89.999\frac { \pi }{ 180 } & 1.74532948958E-5 & 1.74532948891E-5 & 1.74532925187E-5 & 1.74532948957E-5 \\ 89.9999\frac { \pi }{ 180 } & 1.74532489662E-6 & 1.74532489000E-6 & 1.74532925262E-6 & 1.74532489662E-6 \end{matrix} \]

Does anybody have any idea as to what is happening? Maybe I am missing something here?

I have already double-checked all program lines and everything is exactly as before.

Very much appreciated.

Marcio

CORRECTION: Hosoda trig program is working as expected, it was I who "forgot" about the significant loss of accuracy that occurs while converting from DEG to RAD, as pointed out by our dear friend Gerald.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[HP 35s] Hosoda trig program giving incorrect answers to certain angles - Marcio - 08-05-2015 02:36 PM



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