NN 2, IE 3
You want to invoke a variety of trigonometric functions, perhaps for calculating animation paths of a positioned element.
var sineValue = Math.sin(radiansInput);
All Math object methods must be invoked as methods of the static Math object.
See the introduction to this chapter for a summary of all Math object methods and constants. You can see an application of trigonometric functions in Recipe 13.10, which calculates the circular path for a positioned element to follow on the page.
Section 2.0.2 in the introduction of this chapter; Recipe 13.10 where some trigonometric operations help calculate points around a circular path.