Sharp EL-9900 EL9900 Operation Manual - Page 148

Convergence Of A Series

Page 148 highlights

CONVERGENCE OF A SERIES 1. Program the calculator to bounce a ball. The ball will be dropped from a given height, with a given bounce factor (the percentage the ball bounces up of the distance dropped). The number of bounces will also be requested. Repeated runs of the program, with a fixed height and fixed bounce factor, will allow you to examine the convergence of the series. The series is the sum of the distance traveled by the ball in its bounces. 2. Create a new program with the name BOUNCE. Enter the following program and remember to press ENTER at the end of each line. If you make a mis take, use the calculator's editing features to correct the error. 3. Enter the following program: Input H Input F Input N 0⇒X 0⇒D -1⇒Xmin 2N+1⇒Xmax 1⇒Xscl -1⇒Ymin H+1⇒Ymax 1⇒Yscl ClrDraw Label A Line(X,H,X+1, 0) PRGM A 3 ALPHA H ENTER PRGM A 3 ALPHA F ENTER PRGM A 3 ALPHA N ENTER 0 STO X/θ/T/n ENTER 0 STO ALPHA D ENTER (-) 1 STO 2ndF VARS B ENTER A 1 ENTER 2 ALPHA N + 1 STO 2ndF VARS B ENTER A 2 ENTER 1 STO 2ndF VARS B ENTER A 3 ENTER (-) 1 STO 2ndF VARS B ENTER A 4 ENTER ALPHA H + 1 STO 2ndF VARS B ENTER A 5 ENTER 1 STO 2ndF VARS B ENTER A 6 ENTER 2ndF DRAW A 1 ENTER PRGM B 0 1 ALPHA A ENTER 2ndF DRAW A 2 X/θ/T/n , ALPHA H , X/θ/T/n + 1 , 0 ) ENTER 15 Advanced Keyboard/PROGRAMMING USING THE SHARP EL-9900 Copyright © 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153

15
Advanced Keyboard/PROGRAMMING USING THE SHARP EL-9900
Copyright © 2002, Sharp Electronics Corporation.
Permission is granted to photocopy for educational use only.
1.
Program the calculator to bounce a ball.
The ball will be dropped from a
given height, with a given bounce factor (the percentage the ball bounces up
of the distance dropped).
The number of bounces will also be requested.
Repeated runs of the program, with a fixed height and fixed bounce factor,
will allow you to examine the convergence of the series.
The series is the
sum of the distance traveled by the ball in its bounces.
2.
Create a new program with the name BOUNCE.
Enter the following program
and remember to press
ENTER
at the end of each line.
If you make a mis
take, use the calculator’s editing features to correct the error.
3.
Enter the following program:
Input H
PRGM
A
3
ALPHA
H
ENTER
Input F
PRGM
A
3
ALPHA
F
ENTER
Input N
PRGM
A
3
ALPHA
N
ENTER
0
X
0
STO
X/
θ
/T/n
ENTER
0
D
0
STO
ALPHA
D
ENTER
-1
Xmin
(-)
1
STO
2ndF
VARS
B
ENTER
A
1
ENTER
2N+1
Xmax
2
ALPHA
N
+
1
STO
2ndF
VARS
B
ENTER
A
2
ENTER
1
Xscl
1
STO
2ndF
VARS
B
ENTER
A
3
ENTER
-1
Ymin
(-)
1
STO
2ndF
VARS
B
ENTER
A
4
ENTER
H+1
Ymax
ALPHA
H
+
1
STO
2ndF
VARS
B
ENTER
A
5
ENTER
1
Yscl
1
STO
2ndF
VARS
B
ENTER
A
6
ENTER
ClrDraw
2ndF
DRAW
A
1
ENTER
Label A
PRGM
B
0
1
ALPHA
A
ENTER
Line(X,H,X+1,
2ndF
DRAW
A
2
X/
θ
/T/n
,
ALPHA
0)
H
,
X/
θ
/T/n
+
1
,
0
)
ENTER
CONVERGENCE OF A SERIES