Section 7: Program Editing 89
Make any necessary modifications in the program to also find and display
s, the length of the circular arc cut by θ (in radians), according to the
equation
s = r θ.
Complete the following table:
r
45° 50 ? ?
Answers: 38.2683 and 39.2699; 141.4214 and 157.0796; 141.4214 and
471.2389. A possible new program is:
| ¥
000-
Program mode.
´ b A
001-42,21,11
Assigns program label “A”.
| D
002- 43 7
´ • 4
003-42, 7, 4
O 0
004- 44 0
Stores r into R
0
.
2 005- 2
Multiplies radius by 2.
*
006- 20
®
007- 34
Brings θ to X-register.
O 1
008- 44 1
Stores θ into R
1
.
2 009- 2
Divides θ by 2.
÷
010- 10
[
011- 23
ℓ=2r sin
θ
2
.
*
012- 20
´ ©
013- 42 31
Pause briefly to display ℓ.
´ ©
014- 42 31
Pause a bit longer.
l 0
015- 45 0
Recalls r.
l 1
016- 45 1
Recalls θ.
´ r
017- 42 3
Converts degrees to radians.
*
018- 20
s = r θ.
| n
019- 43 32