How the complex forces in a rollercoaster design are calculated with precision by its designers, using a mathematical model.