Let's compute sin(18°) and cos(54°).

(I've tried to keep this explanation easy to follow even if you've forgotten some high school math. Let me know if I've fallen short!)

We start with the "golden triangle", whose top angle is 36° and has 2 sides that are the same length.