% Demonstrate simple harmonic motion.% % Author: AdamTurner, 2021.04.% Copyright reserved.% Written in MATLAB R2018a.function SimpleHarmonicMotion(cmd0) persistent nShow nPeriod t dt tPeriod tShow x v m c k hFuncForce hFuncKinetic odeOption; persisten...