Modelling a Collar Spring Pendulum System in Matlab Simulink and by solving Lagrangian EoM