PHYSICS · Subjective · Fermi University Physics · Computational Physics · Simulating classical dynamical systems · Simulating classical dynamical systems
Computational Physics, Ch Stepping the equations of motion: four integrators measured
Problem
A block on a horizontal spring obeys x¨=−ω02x with ω0=2.0s−1. At t=0 it is released from x0=0.10m with v0=0ms−1. Using Euler-Cromer with step Δt=0.10s (velocity updated first from the acceleration at the current position, then position updated with the new velocity):
(a) Compute x1 and v1, the state after one step.
(b) Compute x2 and v2, the state after a second step.
(c) State how many force (acceleration) evaluations Euler-Cromer needs per step.