Calculation of Trigonometric Ratios and Related Angles