SLOPE FIELD - TI 86

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.


If you have a TI Connectivity Cable, you can download the program SLOPEF.86p


The Program
:ClDrw  {ClDrw is in GRAPH under Draw}
:FnOff  {FnOff is in GRAPH under Vars}
:7*(xMax-xMin)/83$\to$H        {xMax, xMin are in GRAPH under Wind} {The arrow is STO}
:7*(yMax-yMin)/55$\to$ {yMax, yMin are in GRAPH under Wind}
:1/(0.4*H)^2$\to$
:1/(0.4*K)^2$\to$
:xMin+0.5*H$\to$ {x is x-VAR}
:yMin+0.5*K$\to$
:1$\to$ {The 1 is a one}
:Lbl P  {Lbl is in PRGM under CTL}
:1$\to$
:Z$\to$ {y is in GRAPH under Vars}
:Lbl Q 
:y1$\to$ {y1 is in CATLG-VARS under EQU}
:1/$\sqrt{}$(A+B*T^2)$\to$ is the square root button. 
:T*C$\to$
:Line(x-C,y-S,x+C,y+S)  {Line is in GRAPH under Draw}
:Z+J*K$\to$
:IS>(J,8)  {IS> if in PRGM under CTL}
:Goto Q  {Goto is in PRGM under CTL}
:x+H$\to$
:IS>(L,12) 
:Goto P 


Running the Program
 
You will need to enter a function  f(x,y) into y1 and adjust the WINDOW accordingly before running the program. You can use the x and y shown in the GRAPH menu.