Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Math.prototype.sin() Method in Math Class of Javascript Syntax with Examples
2594 Views
Usage 
The Math.sin() function is used to return the sine of a number.
Syntax 
Math.sin(Number)
Example
var a=Math.sin(0);         
var b=Math.sin(2);

document.write("A = "+a);
document.write("B = "+b);
Output 
A = 0
B = 0.9092974268256817
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