Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Math.prototype.cos() Method in Math Class of Javascript Syntax with Examples
2521 Views
Usage 
The Math.cos() function is used to return the cosine of a number.
Syntax 
Math.cos(x)
Example
var a=Math.cos(0);          
var b=Math.cos(9);
document.write(a,b);
Output 
1
-0.911130261884677
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details