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:

  1. Trig Values Screenshot 1

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

  2. Trig Values Screenshot 2

    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.

  3. Trig Values Screenshot 3

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

  4. Trig Values Screenshot 4

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

  5. Trig Values Screenshot 5

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

  6. Trig Values Screenshot 6

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

  7. Trig Values Screenshot 7

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

  8. Trig Values Screenshot 8

    The given angle measurement is displayed in degrees along with its counterpart in the described right triangle.

Download Find-Trig-Values-From-Sides Program »

Related Articles

Leave a Reply