Find Sine, Cosine, Tangent, Secant, Cosecant, and Cotangent from Side Lengths
This program finds the sine, cosine, tangent, secant, cosecant, cotangent, and two other angles of the right triangle. This program accepts as input, all three sides (opposite, adjacent, and hypotenuse) of the right triangle.
Find-Trig-Values-From-Sides Program Walkthrough:
-

Give the opposite side, adjacent side, and hypotenuse of a right triangle.
-

The type of trig function is displayed on top. In this case, it is Sine. The answer is then displayed in two formats. First it is displayed as the square root of a number because many trig values are radicals. Below that, the number is displayed in its decimal form. Lastly, the user is told in which variable this answer was saved.
-

The type of trig function is displayed on top. In this case, it is Cosine.
-

The type of trig function is displayed on top. In this case, it is Tangent.
-

The type of trig function is displayed on top. In this case, it is Secant.
-

The type of trig function is displayed on top. In this case, it is Cosecant.
-

The type of trig function is displayed on top. In this case, it is Cotangent.
-

The given angle measurement is displayed in degrees along with its counterpart in the described right triangle.
Download Find-Trig-Values-From-Sides Program »