Find Sine, Cosine, Tangent, Secant, Cosecant, and Cotangent from Point and Radius
Sunday, April 8th, 2007This program finds the sine, cosine, tangent, secant, cosecant, cotangent, and two other angles of the right triangle. This program accepts as input: a point (X,Y) and a radius.
Find-Trig-Values-From-Point-And-Radius Program Walkthrough:
-

Give the X value, Y value, and radius of a right triangle on a coordinate plane.
-

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.







