Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics
|
11-26-2019, 01:02 AM
(This post was last modified: 11-26-2019 01:07 AM by jklsadf.)
Post: #4
|
|||
|
|||
RE: Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics
Yes that's it. Now that I look at it again, lines 61 to 66 are just using the identity asin(x) = atan(x / sqrt(1 - x^2)), where the scaled x^2 is stored in register 5, since the square root on line 52 isn't applied to register 5 in the last iteration, but its value is on the stack for the divide on line 64.
I got confused keeping track of stuff with the instructions in between. Line 59 has to be factorial (or could've been e^x or 10^x) to keep from having an extra 0 on the stack. As far as I can tell, the only reason for doing the change of variable and using the arctan series instead of arcsin is the series is much simpler and thus fewer program steps. More advanced RPN programmables could've even combined lines 05 through 21 with lines 66 through 81 since they're very similar series, but the 12C doesn't have flags or subroutines. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics - jklsadf - 11-25-2019, 06:40 AM
RE: Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics - jklsadf - 11-25-2019, 06:56 AM
RE: Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics - Albert Chan - 11-25-2019, 04:32 PM
RE: Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics - Albert Chan - 11-27-2019, 06:31 PM
RE: Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics - jklsadf - 11-26-2019 01:02 AM
RE: Arcsin in Valentin Albillo's HP-12C Tried & Tricky Trigonometrics - Don Shepherd - 11-26-2019, 03:33 AM
|
User(s) browsing this thread: 1 Guest(s)