Math JavaScript Tutorial

Syntax

math.acos(num)
The acos() method calculates the arccosine of a number.
The return value is between 0 and PI and is measured in radians.
If the return value is outside this range, 0 is returned.


    
    
    
    
    
    This example calculates the arccosine of the number entered.
    


    Enter Number:
    
    
    

    The arccosine is: