Easter Sunday Trigs ( rpn38-CX)
|
04-06-2016, 02:44 AM
(This post was last modified: 04-06-2016 02:48 AM by Gerson W. Barbosa.)
Post: #27
|
|||
|
|||
RE: Easter Sunday Trigs ( rpn38-CX)
(04-05-2016 04:42 AM)bshoring Wrote: Thanks for the insight. This satisfies my curiosity that one can compute Sine, Cosine and Tangent using the Net Present Value function. On the HP-12C/38C four coefficients will suffice. Notice range reduction is needed here since the polynomial approximation is accurate enough only from -30 to 30 degrees (the argument is divide by three then a trigonometric relation is used to compute the sine of the original angle). But the program becomes somewhat long: 30 steps and 5 constants. The computed values of cosine and tangent become poorer and poorer as the angle approaches 90 degrees. In this case, use the complementary angle. For instance, tan 89.9999° = cot(90° - 89.9999°). On the HP-12C: 90 ENTER 89.9999 - R/S x<>y / --> 572.957.7951 ; tan(89.9999°) 75 R/S -> 0.25881904(43) ; cos(75°) X<>y --> 0.965925826(5) ; sin(75°) x<> / --> 3.7320508(20) ; tan(75°) Regards, Gerson. Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)