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)/83 |
{xmax xmin can be typed in letter by letter}
{ |
| :7*(ymax-ymin)/55 |
|
| :1/(0.4*g)^2 |
|
| :1/(0.4*h)^2 |
|
| :xmin+0.5*g |
|
| :ymin+0.5*h |
|
| :For k,1,12 | {For EndFor is in the F2 menu} {The 1 is a one} |
| :z |
|
| :For j,1,8 | |
| :y1(x) |
{y1 is the Y followed by a 1} |
| :1/ |
{ |
| :t*c |
|
| :Line x-c,y-s,x+c,y+s | {Line is in the CATALOG menu} |
| :y+h |
|
| :EndFor | |
| :x+g |
|
| :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.