JSREF
JavaScript Math.cos()
Math.cos(x) expects x radians.