Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help graphig a parabula
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Thats Me




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
pacos_tacos




PostPosted: 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




PostPosted: 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




PostPosted: Thu Mar 20, 2003 5:52 pm   Post subject: (No subject)

i will show you tomorrow how
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: