asp.net.ph

Math.Cos Method

System Namespace   Math Class


Returns the cosine of the specified angle.

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

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

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

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

Parameters

d
An angle, measured in radians.

Return Value

The cosine of d.

Remarks

The angle, d, must be in radians. Multiply by π/180 to convert degrees to radians.

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