Find Sine, Cosine, Tangent, Secant, Cosecant, and Cotangent from an Angle
Sunday, April 8th, 2007This program finds the sine, cosine, tangent, secant, cosecant, cotangent, and two other angles of a right triangle. This program accepts one of the two non-right angles in the right triangle as input.
Find-Trig-Values Program Walkthrough:
-

Give an angle in degrees or radians. Make sure that the correct mode is set for the type of angle.
-

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.

