Computer Science Canada

Help graphig a parabula

Author:  Thats Me [ Thu Mar 20, 2003 12:18 pm ]
Post subject:  Help graphig a parabula

i have the formula for the parabula

var x: array 1..3 of int :=init (437,287,367)
var y: array 1..3 of int :=init (200,200,240)

for I:0..P
Draw.FillOval (I,(P*(I-Q)**2+M)div 1,1,1,10)
end for

( i think that is right)

any way it was kind of working but i changed something and now it wonteven apear on the screen

i need to make a graphing calculator
and one of its functions has to be to graph a parabula

the user is asked to enter the
var p
var q
var m
values so i need to make a working parabula that when all the proper values are entered conforms to the graph (5x5 squares)


( i hope that maks sense) Confused

Author:  pacos_tacos [ Thu Mar 20, 2003 12:37 pm ]
Post subject: 

hmmm.
let me think about it and i'll get back to you.

Author:  Dan [ Thu Mar 20, 2003 4:57 pm ]
Post subject: 

what vlaues are you using for O, P, Q and M?

Author:  Tubs [ Thu Mar 20, 2003 5:52 pm ]
Post subject: 

i will show you tomorrow how


: