Basic Physics Course with MATLAB's Symbolic Toolbox and Live Editor
Animation 4: Roller coasterA roller coaster with mass m moves frictionless on a track, driven by gravity. The track is described by a one-dimensional parameterization.
The period is derived symbolically, the one-dimensional equation of motion is solved numerically. The movement of the roller coaster is displayed in three dimensions. Further details can be found in Chap04_4