Simulation and animation of a sphere of mass m attached to a spring of constant k sliding without friction on a horizontal surface.
SAMPLE PROBLEM 13.8 - Beer, F.P., Johnston Jr, E.R., Mazurek, D.F., Cornwell, P.J., 2013. Vector mechanics for engineers: Statics and Dynamics. McGraw-Hill.
Matlab File Exchange: https://www.mathworks.com/matlabcentr...
GitHub: https://github.com/andresmendes/Spher...