Post Reply 
[HP 35s] Hosoda's trig program affected by bug 20?
07-24-2015, 11:10 AM (This post was last modified: 07-24-2015 11:19 AM by Marcio.)
Post: #1
[HP 35s] Hosoda's trig program affected by bug 20?
Hello all,

While playing with program based functions on the 35s, I noticed that the solver will never finish if Hosoda's program for trig functions is called from inside functions. Hosoda does make use of DSE at the beginning to save the stack registers, so I suspect 20 bug is to blame here.

For example, if you use Hosoda, try solving \(sin(x)=1\) for \(x\).

This is how I did it:

F001 LBL F
F002 RCL X
F003 XEQ H001;
F004 1
F005 -
F006 RTN

FN = F

80 \(\rightarrow\)RAD STO X

Solve for X.

For those unfamiliar with Hosoda's program, it is a nice addition to the 35s to compensate for the loss of accuracy when trig functions are used, especially in cases where the angle is very small (~1E-7) or near 90 degrees.

Our dear friend Gerald added a few enhancements to it and published the final code here.

Very much appreciated.

Marcio
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[HP 35s] Hosoda's trig program affected by bug 20? - Marcio - 07-24-2015 11:10 AM



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