A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/Math/acos below:

acos ยท WebPlatform Docs

acos Summary

Returns the arc cosine (or inverse cosine) of a number.

Syntax
Math.acos( number )
number
Required. The required number argument is a numeric expression.
Return Value

The arc cosine of the number argument, in radians.

Examples

The following code shows how to use the acos function.

var v1 = Math.acos(-1.0);
 var v2 = Math.cos(-1.0);

 document.write(v1);
 document.write("<br/>");
 document.write(v2);

 
 
 
Remarks

Applies To : Math Object

See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4