asp.net.ph

Math.Acos Method

System Namespace   Math Class


Returns the angle whose cosine is the specified number.

[ VB ]
Public Shared Function Acos ( _
   ByVal d As Double _
) As Double

[ C# ]
public static double Acos (
   double d
);

[ C++ ]
public: static double Acos (
   double d
);

[ JScript ]
public static function Acos (
   d : double
) : double;

Parameters

d
A number representing a cosine, where -1 ≤ d ≤ 1.

Return Value

An angle, q, measured in radians, such that 0 ≤ q ≤ π

-or-

NaN if d < -1 or d > 1.

Remarks

Multiply the return value by 180/π to convert from radians to degrees.

See Also

Math Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph