'cos()' Example : Math « Javascript Objects « JavaScript DHTML






'cos()' Example

 
    
<html>
<body>
<button onclick="alert(Math.cos(1));">Math.cos(1)</button>
</body>
</html>

    
      
        
  








Related examples in the same category

1.Math functions
2.'abs()' Example
3.'acos()' Example
4.'asin()' Example
5.'atan()' Example
6.'atan2()' Example
7.'ceil()' Example
8.'E' Example
9.'exp()' Example
10.'floor()' Example
11.'isNaN()' Example
12.'LN10' Example
13.'LN2' Example
14.'log()' Example
15.'LOG10E' Example
16.'LOG2E' Example
17.'max()' Example
18.'MAX_VALUE' Example
19.'min()' Example
20.'MIN_VALUE' Example
21.'NEGATIVE_INFINITY' Example
22.'parseFloat()' Example
23.'parseInt()' Example
24.'PI' Example
25.'POSITIVE_INFINITY' Example
26.'pow()' Example
27.'round()' Example
28.'sin()' Example
29.'sqrt()' Example
30.'SQRT1_2' Example
31.'SQRT2' Example
32.'tan()' Example