A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: quadratic equation for y=height and x=time for an object being tossed into the air

  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    58

    quadratic equation for y=height and x=time for an object being tossed into the air

    So how do I find the quadratic equation of an object tossed into the air from a point at y=0, if I know the beginning upward velocity and the downward acceleration caused by gravity? (time measured along the x axis, height measured along the y axis)

  2. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    y = y0(you said y0=0) + v0*(x - x0) (this is inertial movement) + 0.5*g*(x - x0)^2 (this is free fall movement; if y points upwards, v is > 0 and g is < 0).

    "0.5" comes from integration, I don't have simple way to show why it's there at hand, but it should be possible... they did it once at school, long time ago
    who is this? a word of friendly advice: FFS stop using AS2

  3. #3
    Member
    Join Date
    Apr 2009
    Posts
    58
    Alright, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center