Introduction
This program plots the slope field for the differential equation in the
form .
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.
If you have a TI Connectivity Cable, you can download the program main.slopef.89p
The Program
:slopef( ) | {This will already appear if you named the program slopef} |
:Prgm | {This will already appear} |
:FnOff | {FnOff is in the CATALOG menu} |
:setMode("Graph", "Function") | {setMode is in the F6 menu under D} |
:7*(xmax-xmin)/83g | {xmax xmin can be typed in letter by letter} { is STO} |
:7*(ymax-ymin)/55h | |
:1/(0.4*g)^2a | |
:1/(0.4*h)^2b | |
:xmin+0.5*gx | |
:ymin+0.5*hz | |
:For k,1,12 | {For EndFor is in the F2 menu} {The 1 is a one} |
:zy | |
:For j,1,8 | |
:y1(x)t | {y1 is the Y followed by a 1} |
:1/(a+b*t^2)c | { is square root} |
:t*cs | |
:Line x-c,y-s,x+c,y+s | {Line is in the CATALOG menu} |
:y+hy | |
:EndFor | |
:x+gx | |
:EndFor | |
:EndPrgm | {This will already appear} |
Running the Program
You will need to enter a function f(x,y) into y1 and adjust the WINDOW accordingly
before running the program.