COS

COS(number)

Returns the cosine 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 degress to radians, multiply it by PI/180.
* To convert a number from radians to degrees, multiply it by 180/PI.
* The inverse of this function is the ACOS function.
* The cosine of a number is 1/SEC.
* 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 of a number.
* You can use the TAN function to return the tangent.
* You can use the RADIANS function to convert from degrees to radians.
* You can use the DEGREES function to convert from radians to degrees.
* The equivalent VBA function is VBA.COS
* For the Microsoft documentation refer to support.microsoft.com

 AB
1=COS(0) = 1.000 
2=COS(B2) = 0.707=PI()/4 = 0.78540
3=COS(B3) = 0.000=PI()/2 = 1.57080
4=COS(B4) = -1.000=PI() = 3.14159
5=COS(B5) = 0.000=PI()*3/2 = 4.71239
6=COS(B6) = 1.000=PI()*2 = 6.28319
7=COS(45*PI()/180) = 0.707 
8=COS(RADIANS(45)) = 0.707 
9=COS(ACOS(0.017)) = 0.017 
10=COS("some 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