# COS

COS(number)

Returns the cosine of a number.

 number The number you want the cosine of.

 REMARKS
 * The inverse of this function is the ACOS function.* The cosine of a number is 1/SEC.* This function is periodic with a period of 2PI.* The "number" is the angle in radians.* If "number" is not numeric, the #VALUE! is returned.* If your argument is in degrees, multiply it by PI/180 to convert it to radians.* If your argument is in radians, multiply it by 180/PI to convert it to degrees.* You can use the ACOS function to return the arc-cosine.* You can use the ACOT function to return the the arc-cotangent.* You can use the SIN function to return the sine.* You can use the TAN function to return the tangent.* You can use the DEGREES function to convert from radians to degrees.* For a working example refer to the Quant > Trigonometric Functions page.* The equivalent VBA function is VBA.COS* For the Microsoft documentation refer to support.microsoft.com

 A 1 =COS(0) = 1.000 2 =COS(0.5) = 0.878 3 =COS(1) = 0.540 4 =COS(PI()/2) = 0.000 5 =COS(2.5) = -0.801 6 =COS(PI()) = -1.000 7 =COS(-0.5) = 0.878 8 =COS(-1) = 0.540 9 =COS(-PI()/2) = 0.000 10 =COS(-2.5) = -0.801 11 =COS(-PI()) = -1.000 12 =COS(45*PI()/180) = 0.707 13 =COS(60*PI()/180) = 0.500 14 =COS(90*PI()/180) = 0.000 15 =COS(120*PI()/180) = -0.500 16 =COS(180*PI()/180) = -1.000 17 =COS(360*PI()/180) = 1.000 18 =COS(ACOS(0.017)) = 0.017 19 =COS("some text") = #VALUE!