Math.standard deviation : Math « Dojo toolkit « JavaScript DHTML






Math.standard deviation

 

<html>
  <head>
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>
      dojo.require("dojox.math._base");
      
      function testIt() {
        var s = dojox.math.sd([99,45,-17,62]);
        alert(s)

      }
    </script>
  </head>
  <body onLoad="testIt();">
  </body>
</html>

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category

1.Get mid point
2.Get range
3.Get gaussian random number
4.Convert radian to degree
5.Convert degree to Radians
6.Calculate distance for two points