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/cos below:

cos ยท WebPlatform Docs

cos Summary

Returns the cosine of a number.

Syntax
Math.cos( radians )
Examples
var v1 = Math.cos(-1.0);
document.write(v1);
// Output: 0.5403023058681398
Remarks

The required radians argument is a numeric expression that contains an angle measured in radians.

The return value is the cosine of the numeric argument of radians.

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