This page shows few mechanics and other problems I have done using MATLAB.
1. Simple Pendulum
2. Spring Pendulum
3. Bead on Hoop
4. Butterfly Flight