SLOPE FIELD - Casio 7700

Introduction
This program plots the slope field for the differential equation in the form ${\hbox{dy}\over \hbox{dx}}=\hbox{f(x,y)}$.
 
If you have not used one of the programs posted on this website before, you should read through the information in the Intro to Programming section first.


The Program
'SLOPEFIELD' {'   is in ALPHA} {This is the name of the program}
"XMIN"?A {" is in ALPHA} {?   is in PRGM} { is on the   ,   button}
"XMAX"?B
"YMIN"?C
"YMAX"?D
Range A,B, ,C,D
7 (B-A) 83 H       
7 (D-C) 55 K
1 (0.4H)^2 E { is the times sign}
1 (0.4K)^2 F
A + 0.5H X
C + 0.5K Z
12L
Lbl 1 {Lbl is in PRGM under JMP}
8J
ZY
Lbl 2
f1T {f1 is in Fmem. Choose fn, then type a 1}
1 $\sqrt{}$ (E+F T^2) G {$\s\
qrt{}$ is square root}
T G S
Plot X-G, Y-S {Plot is in SHIFT}
Plot X+G, Y+S
Line {Line is in SHIFT}
Y+KY
Dsz J {Dsz is in PRGM under JMP}
Goto 2 {Goto is in PRGM under JMP}
X+HX
Dsz L
Goto 1


Running the Program
 
You will need to enter a function  f(x,y) into f1. Store your function by hitting Fmem. Store your equation in position 1. Adjust the RANGE accordingly before running the program. To view the field after it is plotted use the GT button.