Convergence of a series – Sharp EL-9900 User Manual

Page 148

Advertising
background image

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

Advertising