88 Section 7: Program Editing
´ b . 1
001-42,21,.1
´ • 2
002-42, 7, 2
1 003- 1
.
004- 48
0 005- 0
Interest.
7
006- 7
5 007- 5
®
008- 34
y
009- 14
(1 + i)
n
.
*
010- 20
PV (1 + i)
n
.
| n
011- 43 32
Load the program and find the future value of $1,000 invested for
5 years; of $2,300 invested for 4 years. Remember to use G
run a program with a digit label. (Answers: $1,435.63; $3,071.58.)
Alter the program to make the annual interest rate 8.0%.
Using the edited program, find the future value of $500 invested
for 4 years; of $2,000 invested for 10 years. (Answers: $680.24;
$4,317.85.)
2. Create a program to calculate the length of a chord ℓ
an angle θ (in degrees) on a circle of radius r
equation
ℓ=2r sin
θ
2
.
Find ℓ when θ = 30° and r = 25.
(Answer: 12.9410. A possible sequence is: ´ b A | D
´ • 4 2 * ® 2 ÷ [ * | n). (Assumes θ
Y-register and r in X-register when program is run.)