Calculating the Length of a Side in Right Triangles