A physics laboratory records the transverse displacement (in metres) of a point on a…
PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Computational Physics, Ch Differentiating and integrating numbers
Problem
A physics laboratory records the transverse displacement x(t) (in metres) of a point on a vibrating string every Δt=0.1s. Over one interval the displacement obeys, to a good approximation, x(t)=t3−t, and seven readings are taken at t=0,0.1,0.2,0.3,0.4,0.5,0.6s: x=[0,−0.099,−0.192,−0.273,−0.336,−0.375,−0.384]m.
(a) Form the second difference [xj+1−2xj+xj−1]/Δt2 at every interior point by offset slicing on this array of 7 values, and state how many entries the resulting array has. Give its value at t=0.3s and compare it with the exact acceleration x¨(t)=6t at that instant.
(b) The central-difference estimate of the velocity x˙(0.3s) built from this same record gives D0.2=−0.69ms−1 at step h=0.2s and D0.1=−0.72ms−1 at step h=0.1s. Combine these two estimates by Richardson extrapolation and compare the result with the exact velocity x˙(0.3s)=3t2−1.