Post Reply 
Easter Sunday Trigs ( rpn38-CX)
03-30-2016, 05:17 AM (This post was last modified: 03-30-2016 05:37 AM by Gerson W. Barbosa.)
Post: #17
RE: Easter Sunday Trigs (rpn38-CX) - Updated version
.
Trigonometric Functions (RPN-38 CX)

Code:

01 - 21 8         STO 8
02 - 31           ENTER
03 - 61           ×
04 - 31           ENTER
05 - 31           ENTER
06 - 31           ENTER
07 - 86 61 9      RCL × .9
08 - 86 41 8      RCL − .8
09 - 61           ×
10 - 86 51 7      RCL + .7
11 - 61           ×
12 - 86 41 6      RCL − .6
13 - 61           ×
14 - 86 51 0      RCL + .0
15 - 22 61 8      RCL × 8
16 - 21 8         STO 8
17 - 21 51 8      STO + 8
18 - 3            3
19 - 22 8         RCL 8
20 - 22 61 8      RCL × 8
21 - 41           −
22 - 61           ×
23 - 31           ENTER
24 - 31           ENTER
25 - 61           ×
26 - 32           CHS
27 - 1            1
28 - 51           +
29 - 24 21        √x
30 - 33           x≷y
31 - 25 7 00      GTO 00
32 - 25 6         x=0
33 - 25 7 00      GTO 00
34 - 31           ENTER
35 - 61           ×
36 - 24 71        1/x
37 - 1            1
38 - 41           −
39 - 25 6         x=0
40 - 22 73 9      RCL .9
41 - 24 71        1/x
42 - 25 7 50      GTO 50
43 - 25 6         x=0
44 - 25 7 39      GTO 40
45 - 31           ENTER
46 - 61           ×
47 - 24 71        1/x
48 - 1            1
49 - 41           −
50 - 24 21        √x
51 - 25 6         x=0
52 - 25 7 00      GTO 00
53 - 1            1
54 - 33           x≷y
55 - 25 5         x≤y
56 - 25 7 59      GTO 59
57 - 24 71        1/x
58 - 9            9
59 - 0            0
60 - 21 9         STO 9
61 - 25 33        R↓
62 - 24 71        1/x
63 - 21 8         STO 8
64 - 31           ENTER
65 - 61           ×
66 - 51           +
67 - 24 21        √x
68 - 22 41 8      RCL − 8
69 - 21 8         STO 8
70 - 31           ENTER
71 - 61           ×
72 - 31           ENTER
73 - 31           ENTER
74 - 31           ENTER
75 - 86 61 5      RCL × .5
76 - 86 41 4      RCL − .4
77 - 61           ×
78 - 86 51 3      RCL + .3
79 - 61           ×
80 - 86 41 2      RCL − .2
81 - 61           ×
82 - 86 51 1      RCL + .1
83 - 61           ×
84 - 3            3
85 - 24 71        1/x
86 - 41           −
87 - 61           ×
88 - 1            1
89 - 51           +
90 - 22 61 8      RCL × 8
91 - 8            8
92 - 25 12        12÷
93 - 61           ×
94 - 86 71 0      RCL ÷ .0
95 - 22 9         RCL 9
96 - 25 6         x=0
97 - 33           x≷y
98 - 33           x≷y
99 - 41           −

------------------------------------

Trigonometric Functions

R.0: 5.817764173314432e-03
R.1: 0.199999779
R.2: 0.142841665
R.3: 1.107161127e-01
R.4: 0.086263068
R.5: 0.05051923
R.6: 3.2818376136867e-08
R.7: 5.553916059e-14
R.8: 4.4756602e-20
R.9: 2.0935e-26


Angles in DEGREES

-90 =< x <= 90

R/S          --> sin(x)
R/S x<>y     --> cos(x)
R/S x<>y /   --> tan(x)


GTO 32 R/S --> asin(x)      0 =< x <= 1
GTO 43 R/S --> acos(x)      0 =< x <= 1
GTO 51 R/S --> atan(x)   1e-50 < x < 1e42


by Gerson W. Barbosa - Mar/2016

------------------------------------------

Constants:

R.0: 5.817764173314432e-03
R.1: 0.199999779
R.2: 0.142841665
R.3: 1.107161127e-01
R.4: 0.086263068
R.5: 0.05051923
R.6: 3.2818376136867e-08
R.7: 5.553916059e-14
R.8: 4.4756602e-20
R.9: 2.0935e-26

------------------------------------------

Trigononometric Functions:

Enter angles in degrees, -90 =< x <= 90

R/S --> sin(x)
R/S x<>y --> cos(x)
R/S x<>y / --> tan(x)


Inverse Trigonometric Functions:

GTO 32 R/S => arcsin(x) (0 =< x <= 1)
GTO 43 R/S => arccos(x) (0 =< x <= 1)
GTO 51 R/S => arctan(x) (1e-50 < x < 1e42)

------------------------------------------

0.0001 R/S --> 1.745329252E-06 ; sin(0.0001)
x<>y --> 1.000000000 ; cos(0.0001)
/ --> 1.745329252E-06 ; tan(0.0001)

0.9999 GTO 32 R/S --> 89.18960856 ; asin(0.9999)
0.9999 GTO 43 R/S --> 0.8102914371 ; acos(0.9999)
0.9999 GTO 51 R/S --> 44.99713507 ; atan(0.9999)

RCL .0 540 × --> 3.141592654 ; pi


Other examples:

sin(0.01) = 1.745329243E-04
cos(0.01) = 0.9999999848
tan(0.01) = 1.745329270E-04

sin(30) = 0.5000000000
cos(30) = 0.8660254038
tan(30) = 0.5773502692

sin(60) = 0.8660254038
cos(60) = 0.5000000000
tan(60) = 1.732050808

sin(75) = 0.9659258263
cos(75) = 0.2588190451
tan(75) = 3.732050808

sin(89) = 0.9998476952
cos(89) = 1.745240644E-2
tan(89) = 57.28996163

sin(89.99) = 0.9999999848
cos(89.99) = 1.74532924(0)E-4
tan(89.99) = 5729.577(902)

sin(89.9999) = 1.000000000
cos(89.9999) = 1.7453(45219)E-6
tan(89.9999) = 57295(2.5534)

asin(0) = 0.000000000
acos(0) = 90.00000000
atan(0) = 0.000000000

asin(1) = 90.00000000
acos(1) = 0.000000000
atan(1) = 45.00000000

asin(1e10) = 90.00000000

atan(0.4142135624) = 22.50000000

acos(0.8660254038) = 30.00000000

atan(50) = 88.85423716

------------------------------------------

Forensic result:

9 R/S R/S x<>y R/S x<>y / GTO 51 R/S GTO 43 R/S GTO 32 R/S --> 9.000000282

------------------------------------------

This is essentially the previous version with different usage. Now sin(x) is displayed first. The slightly different forensic result is due to the extra two digits in the constant in R.0 (pi/540). If you prefer the older usage just delete the line and subtract 1 from the address of the inverse functions (GTO 31 R/S; GTO 42 R/S; GTO 50 R/S).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Easter Sunday Trigs (rpn38-CX) - Updated version - Gerson W. Barbosa - 03-30-2016 05:17 AM



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