At school, I used to enjoy trigonometry. Given a right angled triangle and a couple of measurements, such as the length of a side and one of the other angles, you can work out other information about it using functions like sin, cos and tan. In the intervening years, I’ve sometimes drawn on Pythagoras’s theorem (the square of the hypotenuse of a right angled triangle is the sum of the square of the other two sides) but rarely had to do more with such triangles and my trigonometry knowledge has gathered dust.
It turns out I need to give it a polish for 3D printing. Since OpenSCAD doesn’t give an easy way to say “take this shape and put the corner there”, you have to do a certain amount of calculation and, as soon as you move away from everything being a cube, trigonometry starts to become involved. Time to start enjoying it again!