Computer Science Canada x^2/a^2 + y^2/b^2 = 1 |
Author: | cycro1234 [ Sat Oct 30, 2004 8:35 pm ] |
Post subject: | x^2/a^2 + y^2/b^2 = 1 |
What do I do with it though??? |
Author: | bugzpodder [ Sat Oct 30, 2004 8:46 pm ] |
Post subject: | |
what do you want to do with it? |
Author: | cycro1234 [ Sat Oct 30, 2004 9:59 pm ] |
Post subject: | |
make a ball travel in an arc |
Author: | AsianSensation [ Sun Oct 31, 2004 5:36 pm ] |
Post subject: | |
well, you can substitute a value for x, and then it spits out a value for y, and then use the x and y values to draw your thingie, and it will follow an elliptical path. |
Author: | bugzpodder [ Sun Oct 31, 2004 7:38 pm ] |
Post subject: | |
the parametric equation for an ellipse is: x=acos(t) y=bsin(t) just plug in your angle (or if you want it the other way... x=asin(t) y=bcos(t) ) |
Author: | wtd [ Sun Oct 31, 2004 11:14 pm ] | ||
Post subject: | |||
I would recommend breaking this down into a data structure and a number of associated functions and procedures.
|
Author: | cycro1234 [ Tue Nov 02, 2004 1:25 pm ] |
Post subject: | Un huh |
AsianSensation, u mentione to substitute a value for x, nd it will spit out a valur for y. What about a and b??? Or will the answer be in terms of a and b? |
Author: | bugzpodder [ Tue Nov 02, 2004 1:44 pm ] |
Post subject: | |
of course the answer will be in terms of a and b |
Author: | cycro1234 [ Tue Nov 02, 2004 6:29 pm ] |
Post subject: | ok... |
Alright, but then wat exactly are the variables a and b?? Are they the angle of the circle? |
Author: | AsianSensation [ Tue Nov 02, 2004 8:08 pm ] |
Post subject: | |
no, they are just some constant, where 2a is the length of the major axis, and the 2b is the length of the minor axis of an ellipse. I suggest searching some math sites, or you'll be learning about ellipses in Gr. 11 math. |
Author: | templest [ Wed Nov 03, 2004 1:41 pm ] |
Post subject: | |
Quote: All girls take time and money
Girls = Time x Money "Time is money" => Time = Money Girls = Money x Money Girls = Money^2 "Money is the root of all evil" = > Evil = the square root of money Girls = (Evil)^1/2 (Evil)^1/2 => Girls = Evil You get hundred bits now! Good stuff. |
Author: | rizzix [ Wed Nov 03, 2004 4:35 pm ] |
Post subject: | |
ah yea.. nice stuff.. |
Author: | cycro1234 [ Wed Nov 03, 2004 7:27 pm ] |
Post subject: | hehehe |
dam straight! |