section 9: trig