PHYSICS · Multi-part · Fermi University Physics · Computational Physics · Oscillations, Waves & Acoustics · Scientific programming for physicists
Scientific Computing for Physicists, Ch Letting the computer do advanced algebra: operators, series and differentiated programs
Problem
A mass-spring-damper system obeys mx¨+cx˙+kx=0 with m=1kg, c=2kgs−1, k=101Nm−1, x(0)=0.05m, x˙(0)=0ms−1. A symbolic solver returns x(t)=e−t(Acos(10t)+Bsin(10t)) with t in seconds and x in metres, but does not report A and B.
((a)) Find A and B (in metres) from the initial conditions.
((b)) Verify by direct substitution into mx¨+cx˙+kx=0 that the resulting x(t) is an exact solution, and state the value of the residual.