Need help with acceleration/time physics...
Uhh.... I am making this little game involving a physics engine... and i forgot my formulas... and I can't find them on the web... what is the formula to find out the time taken for a straight line journey, if you know the constant acceleration and distance? I have 'worked out': time=sqrt(distance/acceleration) but it doesn't seems to be quite right... any help?
your forumla for time is correct.
Sir, e^iÏ€ + 1 = 0, hence God exists; reply!
v = u + at
s = vt
u (initial velocity) = 0
s = a * t * t
t = sqrt(s/a)
s = vt
u (initial velocity) = 0
s = a * t * t
t = sqrt(s/a)
Sir, e^iÏ€ + 1 = 0, hence God exists; reply!
Nope, you need calculus to do that correctly. DoG is right.
s'' = a
s' = v1 + a*t
s = s1 + v1*t + (a*t^2)/2
Ignoring displacement in general, or the intial velocity, you get d = (a*t^2)/2.
s'' = a
s' = v1 + a*t
s = s1 + v1*t + (a*t^2)/2
Ignoring displacement in general, or the intial velocity, you get d = (a*t^2)/2.
Scott Lembcke  Howling Moon Software
Author of Chipmunk Physics  A fast and simple rigid body physics library in C.
*sigh* it can all be done without calculus
v = u + at
s = 1/2 * (u + v) * t
u (initial velocity) = 0
s = 1/2 * v * t * t
t = sqrt(2*s/a)
its been too long since I did physics
v = u + at
s = 1/2 * (u + v) * t
u (initial velocity) = 0
s = 1/2 * v * t * t
t = sqrt(2*s/a)
its been too long since I did physics
Sir, e^iÏ€ + 1 = 0, hence God exists; reply!
Not to drag this on, but I'd like to point out that s = (u + v)*t/2 is using calculus. It's finding the area under the trapzoid in the velocity graph to determine the displacement.
Scott Lembcke  Howling Moon Software
Author of Chipmunk Physics  A fast and simple rigid body physics library in C.
Yes, but all these forumla can be derives without calculus..
Newton developed these equations before he invented calculus.
v[bar] = s / t
v[bar] = average velocity = 1/2 ( u + v )
Newton developed these equations before he invented calculus.
v[bar] = s / t
v[bar] = average velocity = 1/2 ( u + v )
Sir, e^iÏ€ + 1 = 0, hence God exists; reply!
uhh... Thanks guys....
(notices that unknown has 1337 posts under is belt.)
(notices that unknown has 1337 posts under is belt.)
Yep, no problem. We always enjoy bickering over questions.
Scott Lembcke  Howling Moon Software
Author of Chipmunk Physics  A fast and simple rigid body physics library in C.
Skorche Wrote:Not to drag this on, but I'd like to point out that s = (u + v)*t/2 is using calculus. It's finding the area under the trapzoid in the velocity graph to determine the displacement.Yes, but in this case u=0 so the formula is really finding the area under a triangle.
Even when u != 0, the formula can be derived using the quadratic formula. Would you consider that calculus?
Whoa, I looked into my notebook and found this:
d = ut + 1/2atÂ² therefore
0 = 1/2atÂ²+utd using the quadratic formula yields:
t = (u + sqrt(uÂ² + 2ad)) / a
Can this be simplified or something?
P.S. I don't think I used Calculus

I'm confused
d = ut + 1/2atÂ² therefore
0 = 1/2atÂ²+utd using the quadratic formula yields:
t = (u + sqrt(uÂ² + 2ad)) / a
Can this be simplified or something?
P.S. I don't think I used Calculus

I'm confused
I don't believe that can be simplified any further.
Once again, while you didn't use any calculus, the formula d = ut + 1/2atÂ² is derived using ideas from calculus.
Once again, while you didn't use any calculus, the formula d = ut + 1/2atÂ² is derived using ideas from calculus.
Scott Lembcke  Howling Moon Software
Author of Chipmunk Physics  A fast and simple rigid body physics library in C.
yeah but the idea of vbar, average time for an entire journey is not derived from calculus, neithe was anything in my post. (the one that I didnt make a stupid mistake in that is)
Sir, e^iÏ€ + 1 = 0, hence God exists; reply!
Possibly Related Threads...
Thread:  Author  Replies:  Views:  Last Post  
Smooth acceleration in every direction.  Honey Sharma  1  4,674 
Aug 16, 2011 01:37 AM Last Post: PoseMotion 

Device motion detection using Acceleration data.  RockyDilse  4  8,881 
Feb 16, 2011 12:57 AM Last Post: RockyDilse 

Mouse acceleration curve  Muriac  2  3,460 
May 20, 2007 01:58 PM Last Post: Muriac 

Bullet Physics Library / COLLADA physics viewer  erwincoumans  14  13,413 
Aug 12, 2006 12:59 AM Last Post: Fenris 