a triangle is used for trigonometry