A motion sensor records the height (in metres) of a bouncing ball's centre of mass
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 motion sensor records the height y(t) (in metres) of a bouncing ball's centre of mass, which over one bounce is modelled as y(t)=t4 (an idealised model used only for this calculation, in SI units). Five readings are taken at t=0.8,0.9,1.0,1.1,1.2s, giving y=[0.4096,0.6561,1.0000,1.4641,2.0736]m.
(a) Form the second difference of this array by offset slicing with Δt=0.1s, and state the length of the resulting array. Give its value at t=1.0s, compare it with the exact acceleration y¨(1.0)=12t2t=1, and check the difference against the predicted leading error term 121Δt2y(4)(1.0).
(b) Central-difference estimates of the velocity y˙(1.0s) from the same record give D0.2=4.16ms−1 and D0.1=4.04ms−1. Combine them by Richardson extrapolation and compare with the exact velocity y˙(1.0)=4t3t=1.