What you've written is Forward Euler on dv/dt = f(t) (with m=1) ... i.e. v(n+1) = v(n) + f(n) * dt.
How to calculate current velocity using Euler integration [closed]
문제
I want to know if I convert formula correctly. I'm not sure of that.
I know:
force = mass * acceleration
acceleration = (Velocity - previousVelocity) / deltaTime
acceleration = force / mass
So:
(Velocity - previousVelocity) / deltaTime = Force / Mass
If I know the force to apply , the mass , deltaTime and previousVelocity, to convert it in the new velocity for a euler integration? This formula is correct ?:
Velocity = (Force / mass * deltaTime) + previousVelocity
I feel like something is wrong or missing, I need the real formula.
thanks a lot!
해결책
제휴하지 않습니다 StackOverflow