beautypg.com

Slope fields – Sharp EL-9900 User Manual

Page 150

background image

17

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 graph the slope field for a differential equation at

a finite set of points.

2.

Create a new program with the name SFIELD. Enter the following

program and remember to press ENTER at the end of each line. If you

make a mistake, use the calculator’s editing features to correct the error.

3.

Enter the following program:

ClrDraw

2ndF DRAW A 1 ENTER

.1

⇒H

.

1 STO ALPHA H ENTER

ipart Xmin

⇒J

MATH B 3 2ndF VARS B ENTER A 1

STO

ALPHA

J ENTER

ipart Ymin

⇒K

MATH B 3 2ndF VARS B

ENTER A 4

STO ALPHA K ENTER

J

⇒X

ALPHA J STO X/

θ/T/n ENTER

K

⇒Y

ALPHA K STO ALPHA Y ENTER

Label A

PRGM B

0 1 ALPHA A ENTER

X+H

⇒A

X/

θ/T/n + ALPHA H STO ALPHA A

ENTER

If X

≠0 Goto B

PRGM

B

0 3 X/

θ/T/n MATH F

2

0 PRGM

B

0 2 ALPHA B

ENTER

.00001

⇒X

.

0 0 0 0 1 STO X/

θ/T/n ENTER

Label B

PRGM B

0 1

ALPHA

B ENTER

(sin X

÷X)

( sin X/

θ/T/n

÷

X/

θ/T/n ) ( ALPHA

(A–X) +Y

⇒B

A

– X/

θ/T/n

)

+ ALPHA Y STO

ALPHA

B ENTER

A

⇒C

ALPHA A STO ALPHA C ENTER

B

⇒D

ALPHA B STO

ALPHA D ENTER

X–H

⇒A

X/

θ/T/n – ALPHA H STO ALPHA A

ENTER

(sin X

÷X)

(

sin X/

θ/T/n

÷

X/

θ/T/n

)

(

ALPHA

(A–X) +Y

⇒B

A – X/

θ/T/n )

+ ALPHA

Y STO

ALPHA B ENTER

SLOPE FIELDS