Help graphig a parabula
Author |
Message |
Thats Me
|
Posted: 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 Confused](http://compsci.ca/v3/images/smiles/icon_confused.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
pacos_tacos
![](http://images.google.ca/images?q=tbn:MEPBZMmOd0kC:www.psfarms.com/tacos.jpg)
|
Posted: Thu Mar 20, 2003 12:37 pm Post subject: (No subject) |
|
|
hmmm.
let me think about it and i'll get back to you. |
|
|
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Thu Mar 20, 2003 4:57 pm Post subject: (No subject) |
|
|
what vlaues are you using for O, P, Q and M? |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
Tubs
![](http://members.lycos.co.uk/lovedtwice2000/phpBB2/images/avatars/187282473e3fd65a3a33b.gif)
|
Posted: Thu Mar 20, 2003 5:52 pm Post subject: (No subject) |
|
|
i will show you tomorrow how |
|
|
|
|
![](images/spacer.gif) |
|
|