COS

COS(number)

Returns the cosine ratio of an angle.

numberThe angle in radians.

REMARKS
* For an illustrated example refer to the page under Trigonometric Functions.
* This function returns the ratio of the adjacent side divided by the hypotenuse in a right angled triangle.
* This function always returns a value between -1 and 1 (inclusive).
* The graph of this function is a continuous, repeating wave, with amplitude 1 and period 2PI.
* If "number" is not numeric, the #VALUE! is returned.
* To convert a number from degrees to radians, multiply it by PI/180.
* To convert a number from radians to degrees, multiply it by 180/PI.
* You can use the ACOS function to return the angle in radians for a given cosine ratio.
* You can use the SIN function to return the sine ratio for an angle.
* You can use the TAN function to return the tangent ratio for an angle.
* You can use the RADIANS function to convert from degrees to radians.
* You can use the DEGREES function to convert from radians to degrees.
* You can use the SEC function to return the secant ratio for an angle.
* You can use the ACOT function to return the arc-cotangent.
* The equivalent VBA function is VBA.COS
* For the Microsoft documentation refer to support.microsoft.com

 A
1=COS(0) = 1
2=COS(PI()/4) = 0.707
3=COS(PI()/2) = 0
4=COS(PI()) = -1
5=COS(PI()*3/2) = 0
6=COS(PI()*2) = 1
7=COS(45*PI()/180) = 0.707
8=COS(RADIANS(45)) = 0.707
9=COS(ACOS(0.017)) = 0.017
10=COS("text") = #VALUE!

1 - What is the cosine of 0.
2 - What is the cosine of (PI/4).
3 - What is the cosine of (PI/2).
4 - What is the cosine of (PI).
5 - What is the cosine of (PI*3/2).
6 - What is the cosine of (PI*2).
7 - What is the cosine of 45 degrees.
8 - What is the cosine of 45 degrees.
9 - What is the inverse of cosine.
10 - When number is not numeric.

© 2025 Better Solutions Limited. All Rights Reserved. © 2025 Better Solutions Limited Top