Site hosted by Angelfire.com: Build your free website today!

Quadratic Relations

(Back)
Email the author:REGGIE


This is a program I designed to draw the graph of a Quadratic Relation. The EL-9600 can not do this by itself as far as I know. I used the program during my Quadratic Relations unit in Math 30. The window attributes such as 'Xmin' can be found in: Vars; B Window; A XY. The '=>' is STO. The '\' is for square root. The 'PreWin' can be found in: Zoom; H RCL. The wait command is there so that the graph will stay displayed on the screen until you press enter. I am disapointed with the speed at which the EL-9600 draws its graphs, and this program is no exception. Thanks to Paolo Bonzini who showed me how to get it to run a little faster at least!

Print "AX²+BXY+CY²+DX+EY+F=0"
Input A
Input B
Input C
Input D
Input E
Input F
-18=>Xmin
18=>Xmax
1=>Xscl
-9=>Ymin
9=>Ymax
1=>Yscl
If C=0goto X
B²/4-AC=>H
BE-CD=>I
E²/4-CF=>J
Draw (-.5(BX+E)+\((HX+I)X+J))/C
Draw (-.5(BX+E)-\((HX+I)X+J))/C
Wait
PreWin
End
Label X
Draw ((-AX²-DX-F)/(BX+E))
Wait
PreWin
End