For a right-angled triangle, follow these steps to calculate ... and gives the answer to opposite ÷ adjacent (in this example, 5/7). tan⁻¹ is the inverse function of tan.