Trigonometrics on the 17bii+



#10

Could someone point me to the recent, but obviously now archived, thread regarding this?

I believe there was a lot of discussion, initiated by Gerson, about applying his 12C trigonometry work to the 17bii+ equation solver, but I am darned if I can find it now....

Les

Edited: 4 Mar 2007, 12:37 a.m.


#11

Hi Les --

I believe it was either in "archv014" or "archv016". Take a look in each, and search for 17bii+. I was just reading them the other day, but unfortunately don't have the link with me.

thanks,
bruce

#12

Hi Les,

There's the Article by Bruce Maquire:

Improved TRIG. and INVERSE TRIG. functions for the HP-17BII

and the Message Thread started by Gerson Barbosa:

HP-17BII - trig equations suggestions

There may be others, but I think these are the main ones.

Bill

#13

Hello Les,

There are five sets of equations you can use here:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=695

I would suggest the first set, as it faster and easier to enter. This still can be improved by someone who knows the HP-17BII/II+ solver better, like placing SIN, COS and TAN into a single menu group. They have been tested on the HP-17BII. I am curious if they work on the HP-17BII+.

Best regards,

Gerson.


#14

Hi Gerson,

How did I pick up on your message threads but totally miss your article? :) Sorry for missing it in my previous post.

Bill


#15

Hi Bill,

I think it's my fault. In the last message in the thread Bill Platt suggested it went into the Articles. I should have provided a link to the article (or to the draft-article, as there is still room for improvement) while the thread was still active. Thanks for remembering it.

Regards,

Gerson.


Edited: 4 Mar 2007, 7:37 a.m.


#16

Hi Gerson. I entered the method 1 equations into a 17bii+ and all equations verify and solve within 2 seconds. I've tried a few values for x: 0, 15, 30, 45, 60, 75, and 90 and all seem to solve correctly. I'll do some more testing and will give you feedback.

Thanks for making this available to us.

Regards,

John


#17

Hello John,

If they verify and solve in less than two seconds, this means the 17BII+ is significantly faster than the 17BII, which is great! I was intending to group all six functions in a single menu but I quit because the verification time would be too slow.

I wasn't interested in giving a complete trigonometric solution on the HP-17BII when I suggested two simple polynomial equations for sine and arctangent functions. So it was really great when Charles presented basically the same equations I used in set one and showed that the inverse functions could be obtained iteratively, as you can see in the link provided by Bill. It was a good start.

Other values you can check:

  sin(18) = (sqrt(5) - 1)/4
cos(22.5) = (sqrt(2 + sqrt(2))/2
tan(72) = sqrt(5 + 2 * sqrt(5))

Regards,

Gerson.


Edited: 4 Mar 2007, 12:03 p.m.

#18

Quote:
This still can be improved by someone who knows the HP-17BII/II+ solver better, like placing SIN, COS and TAN into a single menu group

I think this can be done, but it looks like it can get complicated when the equations themselves are "busy". Probably need to work it out on paper first, then enter it in.

Quote:
I am curious if they work on the HP-17BII+.

I have entered only the SIN equation from set 1, and it works beautifully. Very fast. Solving for arcsine iteratively takes a couple of seconds and requires an intelligent initial guess lest one get a result outside of the -90 to +90 degree range that may not be trustworthy. Of note, naively solving for arcsin(1) from initial guesses of 85 degrees converges not to 90 degrees but rather 89.9998857789, which is expected since the sine of the latter is very close indeed to 1--0.999999999998 on my HP49G+.

This is a lot of typing and I am very interested in learning more about the Solver and combining these into one omnibus equation that reuses the repeated polynomial material with the L() and G() commands. It would be nice to have all of this stuff in one solver menu, but this means it all needs to be in one huge equation with conditionals built in. Complicated!

Les


Possibly Related Threads...
Thread Author Replies Views Last Post
  17BII & 17BII+ Discounted Payback Period Revisited Tom Neudorfl 8 1,535 11-25-2013, 10:28 AM
Last Post: Don Shepherd
  Kitchen timer on 17B/17BII/17BII+/19B/19BII/27S y.miyata 1 508 03-04-2010, 12:18 PM
Last Post: Martin Pinckney
  Trigonometrics for Really Big Input Les Wright 18 2,106 02-24-2007, 10:38 PM
Last Post: Massimo Gnerucci (Italy)
  Normal Distribution and Black-Scholes for HP 17B, 17BII, NEW 17BII+, 19B, 19BII Bob Wang 0 492 09-24-2004, 02:25 PM
Last Post: Bob Wang
  Trigonometrics in financial applications Valentin Albillo 17 1,807 06-30-2003, 10:36 AM
Last Post: Thibaut
  Trigonometrics with the HP16c (no inverses so far) Vieira, Luiz C. (Brazil) 22 2,240 05-14-2003, 10:06 AM
Last Post: Ellis Easley
  HP-12C trigonometrics Ex-PPC member 10 1,202 10-16-2001, 12:50 PM
Last Post: W. Bruce Maguire II

Forum Jump: