The ACOS function in Google Sheets is a trigonometric function that returns the inverse cosine of a specified number. This function is particularly useful in mathematics, engineering, and any field that requires the measurement of angles based on cosine values. Understanding how to use ACOS effectively can enhance your data analysis and calculations involving angles.
Syntax
ACOS(value)
- value: A numeric value representing the cosine of an angle. This value must be between -1 and 1, inclusive.
Example #1
=ACOS(0.5)
This function will return the angle in radians whose cosine is 0.5. For this example, the result would be approximately 1.0472 radians.
Example #2
=ACOS(-1)
This function calculates the inverse cosine of -1, which represents an angle of π radians, yielding a result of 3.1416 radians.
Example #3
=ACOS(1)
Here, the function returns the angle whose cosine is 1. This results in 0 radians, indicating no angle or a full rotation.
Error handling
- NUM!: This error occurs when the input value is less than -1 or greater than 1, which is outside the valid range for cosine values.
- VALUE!: This error indicates that the argument supplied is not a number, and thus cannot be used to compute the ACOS function.