JavaScript/examples/advanced/math-meths0.html
Our web spider found the following code snippet at www_npac_syr_edu and contains information about atan and JavaScript.
atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan");
10  
11  // Called by the onLoad handler:
12  function initialize() {
13    for ( var i = 0; i < mathMethod.length; i++ ) {
14      updateForm( mathMethod[i] );
15    }

16    document.forms[1].max_out.value = parseInput("max", document.forms[1].max_
in.value);

17    document.forms[1].min_out.value = parseInput("min", document.forms[1].min_
in.value);

18    document.forms[1].pow_out.value = parseInput("pow", document.forms[1].pow_
in.value);
19  }
20  

21  // Called by the initialize() method and the onClick handler of forms[0]:
22  function updateForm( method ) {
23    with ( Math ) {

24      eval( "document.forms[0]." + method + "_out.value = " + method + "(
Read the entire article....