Physics Examples/Help With Differentials - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Physics Examples/Help With Differentials (/thread-4611.html)
Physics Examples/Help With Differentials - Nick - Jan 14, 2006 05:07 PM
I found a website (http://www.myphysicslab.com) that shows examples of 2D physics systems for a number of objects like springs and rigid bodies. It also explains things with some equations.
I'm currently trying to reproduce the single spring in my program (just learning some physics) but I am a bit rusty on differentials. I took very little calculus so I'm not very good with figuring out some of the things.
When it says
x'' = -k/m*x - b/m*x'
is that the same as
a = -k/m*x - b/m*v?
If so could I handle the position as follows (I intialized x = 4 and v = 0)?
Thanks for any help.
Physics Examples/Help With Differentials - Josh - Jan 14, 2006 05:29 PM
Nick Wrote:When it saysIf x is the position function then yes, x'' would be acceleration.