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)  |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
pacos_tacos

|
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. |
|
|
|
|
 |
Dan

|
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! |
|
|
|
 |
Tubs

|
Posted: Thu Mar 20, 2003 5:52 pm Post subject: (No subject) |
|
|
i will show you tomorrow how |
|
|
|
|
 |
|
|