I'm given with the following script:
for ii = 2:length(x_time) V(ii) = V(ii-1) - (forces_x(ii-1)./w) * g .* dt; D(ii) = 0.5 .* rho .* V(ii).^2 * s * Cd; R(ii) = (not relevant); F(ii) = 2 .* Cf(ii) .* R(ii); forces_x(ii) = (F(ii) + D(ii)) - T(ii); distance(ii) = distance(ii-1) + .5 .* (V(ii) + V(ii-1)) .* dt; deceleration(ii) = (V(ii) - V(ii-1))./dt; end
Above I've reported only the relevant equations.
The Attempt at a Solution
I'm asked to state what kind of integration is this.
I don't know really how to answer, I was thinking about Euler-method, but right now I am a bit confused.
Thank you for your help!