beautypg.com

The mandelbrot set, Continued) – Sharp EL-9900 User Manual

Page 145

background image

12

Advanced Keyboard/PROGRAMMING USING THE SHARP EL-9900

Copyright © 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

R

⇒X

ALPHA R STO X/

θ/T/n ENTER

S

⇒Y

ALPHA S STO ALPHA Y ENTER

C+1

⇒C

ALPHA C + 1 STO ALPHA C

ENTER

If C

≤30 Goto B

PRGM B

0 3

ALPHA C

MATH

F 6 3 0 PRGM B 0 2 ALPHA

B ENTER

PntON(M,N)

2ndF

DRAW

B 1 ALPHA M

,

ALPHA N )

ENTER

PntON(M,-N)

2ndF DRAW B

1 ALPHA M , (-)

ALPHA N

)

ENTER

Label C

PRGM B 0 1 ALPHA

C ENTER

If K

≤50 Goto A

PRGM B 0 3 ALPHA

K MATH

F 6

5 0 PRGM B 0 2 ALPHA

A ENTER

0

⇒K

0

STO ALPHA K ENTER

J+1

⇒J

ALPHA

J

+ 1 STO

ALPHA

J

ENTER

If J

≤100 Goto A

PRGM B 0 3 ALPHA J

MATH

F 6 1 0 0 PRGM B 0 2

ALPHA A ENTER

End

PRGM A 6 ENTER

Press 2ndF QUIT to exit the editor.

4.

Press Y= and CL to clear the Y1 prompt. Press and CL to clear

additional prompts. Press 2ndF DRAW A 1 ENTER to clear an

old drawing. Press WINDOW (-) 2 ENTER 2 ENTER 1

ENTER (-) 2 ENTER 2 ENTER

1

ENTER . Execute the

MANDEL program by pressing PRGM A (EXEC) and select MANDEL.

The program will roughly and very slowly generate the Mandelbrot set.

THE MANDELBROT SET

(continued)