by trig