You will write the velocity and the acceleration of a body in SHM, and then check the velocity with a small step in time.
The idea. For :
A velocity is also the change of position divided by a small time. So for a small .
Your tasks.
velocity, return at the time t.acceleration, return at the time t.speed_at, return the speed at the position x.step_velocity, return the estimate of from the positions at t + h and t - h.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…