Trigonometric functions: Difference between revisions

Added a bit about a difference in behavior for inverse functions
m (→‎{{header|Java}}: Changed arc functions to use better arguments.)
(Added a bit about a difference in behavior for inverse functions)
Line 1:
{{task}}{{clarified-review}}
If your language has a library or built-in functions for trigonometry, show examples of sine, cosine, tangent, and their inverses using the same angle in radians and degrees. For the non-inverse functions, each radian/degree pair should use arguments that evaluate to the same angle (that is, it's not necessary to use the same angle for all three regular functions as long as the two sine calls use the same angle). For the inverse functions, use the same number and convert its answer to radians and degrees. If your language does not have trigonometric functions available or only has some available, write functions to calculate the functions based on any [http://en.wikipedia.org/wiki/Trigonometric_function known approximation or identity].
 
=={{header|Ada}}==
Anonymous user