hp 17bII+ cosine, tan trig functions

03062021, 08:11 PM
(This post was last modified: 03062021 08:13 PM by Lonewolf.)
Post: #1




hp 17bII+ cosine, tan trig functions
Hello,
I just just keyed in the sine function I found from Gerson W. Barbosa in a 2006 posting: SIN=L(SX:X*(5.8177641733 1E3+L(X2Q(X))*(3.281 8376137E8+G(X2)*(5.5539 1606E14+G(X2)*(2.0935E 26*G(X2)4.47566E20)))) )*(34*SQ(G(SX))) ...and it works just fine... My question is, how do I key in these two simple identities in the solver function as an equation: cos x = sin(90  x) tan x = sinx / cosx I am not a programmer; any help would be appreciated. /Silicon Valley Regards 

03072021, 09:21 AM
Post: #2




RE: hp 17bII+ cosine, tan trig functions
(That is, from Gerson's Fast and Accurate Trigonometric Functions on the HP17BII)
(Sorry, can't help with the main question) 

03072021, 12:08 PM
(This post was last modified: 03072021 12:10 PM by Gerson W. Barbosa.)
Post: #3




RE: hp 17bII+ cosine, tan trig functions
(03062021 08:11 PM)Lonewolf Wrote: I just just keyed in the sine function I found from Gerson W. Barbosa in a 2006 posting: Unfortunately there is no way to do what you intend because SIN(X) is not a builtin function. If you want to have COS(X), for instance, you should rewrite the above equation replacing every occurrence of the argument X with (90X): COS=L(SX:(90X)*(5.8177641733 1E3+L(X2:SQ((90X)))* ... This should work on the original HP17B and HP17BII, but not on the hp17bII+, if I am not mistaken, because of a flawed reimplementation of the solver on the latter. I have written a very long equation that handles the basic three trigonometry functions and their inverses, plus degrees<>radians conversions, but it won’t work on the hp 17bII+. This thread from 2014 includes an attached file that you might want to try on the Emu42 emulator, though: A very long HP17BII equation  Update Regards, Gerson. 

03072021, 08:32 PM
Post: #4




RE: hp 17bII+ cosine, tan trig functions
(03072021 09:21 AM)EdS2 Wrote: (That is, from Gerson's Fast and Accurate Trigonometric Functions on the HP17BII) Thank you for the extra information. /Silicon Valley Regards 

03072021, 09:01 PM
(This post was last modified: 03072021 09:03 PM by Lonewolf.)
Post: #5




RE: hp 17bII+ cosine, tan trig functions
[attachment=9183]
(03072021 12:08 PM)Gerson W. Barbosa Wrote:(03062021 08:11 PM)Lonewolf Wrote: I just just keyed in the sine function I found from Gerson W. Barbosa in a 2006 posting: Thank you; in the meantime, I am thinking of the possibility of a clamshell configuration idea of my hp 17bII+ and my TI36X Solar (which I carry for the trig and inverse trig functions)... But I have keyed in the Law of Cosines, angle between vectors, and other geometric equations into my hp 17's equation library... /Silicon Valley Regards 

« Next Oldest  Next Newest »

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