trig functions are used with __________ triangles