Problems for
Intermediate Methods in Theoretical Physics

Edward F. Redish

Euler Method for a Mass on a Spring

The Euler method treats Newton's second law (N2) as a set of "marching orders." Given the "state of an object (its position and velocity) at a particular time, t, it uses N2 to calculate (predict) the state of the object (its position and velocity) at a later time, t + Δt.

(a) For a cart on a spring, taking the coordinate to start at 0 at the equilibrium position, write N2 for the cart.

(b) Rewrite N2 for the time interval from t to t + Δt and show how to rewrite this form to give Euler's method -- a way of calculating the position and velocity at a time t + Δt given the position and velocity at a time t.

(c) If at t = 0, the position of the object is x(0) = A and the velocity is v(0) = 0, find the position and velocity of the mass as given by the first two steps of the Euler method. ("Two" does not include the initial state.) How good are these answers?


RETURNS

University of MarylandPhysics DepartmentPhysics 374 Home


This page prepared by

Edward F. Redish
Department of Physics
University of Maryland
College Park, MD 20742
Phone: (301) 405-6120
Email: redish@umd.edu

Last revision 19. October, 2005.