hp 17bII+ cosine, tan trig functions
|
03-06-2021, 08:11 PM
(This post was last modified: 03-06-2021 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 1E-3+L(X2Q(X))*(-3.281 8376137E-8+G(X2)*(5.5539 1606E-14+G(X2)*(2.0935E- 26*G(X2)-4.47566E-20)))) )*(3-4*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 |
|||
03-07-2021, 09:21 AM
Post: #2
|
|||
|
|||
RE: hp 17bII+ cosine, tan trig functions
(That is, from Gerson's Fast and Accurate Trigonometric Functions on the HP-17BII)
(Sorry, can't help with the main question) |
|||
03-07-2021, 12:08 PM
(This post was last modified: 03-07-2021 12:10 PM by Gerson W. Barbosa.)
Post: #3
|
|||
|
|||
RE: hp 17bII+ cosine, tan trig functions
(03-06-2021 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 built-in function. If you want to have COS(X), for instance, you should rewrite the above equation replacing every occurrence of the argument X with (90-X): COS=L(SX:(90-X)*(5.8177641733 1E-3+L(X2:SQ((90-X)))* ... This should work on the original HP-17B and HP-17BII, 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 HP-17BII equation - Update Regards, Gerson. |
|||
03-07-2021, 08:32 PM
Post: #4
|
|||
|
|||
RE: hp 17bII+ cosine, tan trig functions
(03-07-2021 09:21 AM)EdS2 Wrote: (That is, from Gerson's Fast and Accurate Trigonometric Functions on the HP-17BII) Thank you for the extra information. /Silicon Valley Regards |
|||
03-07-2021, 09:01 PM
(This post was last modified: 03-07-2021 09:03 PM by Lonewolf.)
Post: #5
|
|||
|
|||
RE: hp 17bII+ cosine, tan trig functions
[attachment=9183]
(03-07-2021 12:08 PM)Gerson W. Barbosa Wrote:(03-06-2021 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 TI-36X 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: 3 Guest(s)