The formulas

Svg: general formulas and specifically for the individual segments

I have put together the most important formulas for: