I want to simulate a mechanic object like this:
init acceleration a;
init velocity v;
init position x;
loop {
get delta time dt;
v = v + a*dt;
x = x + v*dt;
}
I use the velocity (which is the derivative of position) at the end of each time step to approximate the new position. So this should be exactly what the backward euler method does.
Do I have an error in reasoning?