Trigonometry is a key tool for calculating these factors and making the roller coaster as safe and thrilling as possible. Trigonometry functions allow designers to work out the angle and the length of the slopes that the height and position of the peaks will generate.