Trigonometric functions: Difference between revisions

Content deleted Content added
Line 4:
=={{header|Ada}}==
Ada provides library trig functions which default to radians along with corresponding library functions for which the cycle can be specified. The examples below specify the cycle for degrees and for radians. The output of the inverse trig functions is in units of the specified cycle (degrees or radians).
<preada>
with Ada.Numerics.Elementary_Functions;
use Ada.Numerics.Elementary_Functions;
Line 40:
Arccot (X => Cot (Angle_Degrees, Degrees_Cycle)));
end Trig;
</preada>
 
Output: