The Internet Archive discovers and captures web pages through many different web crawls.
At any given time several distinct crawls are running, some for months, and some every day or longer.
View the web archive through the Wayback Machine.
Javascript NPR calculator is used to find the number of permutations for the given value. Enter the values to the textbox and find the npr calculations. In probability we can use the permutations.
Features
By using this calculator we can find the number of permutations.
This is used in probability to calculate permutations.
This is free javascript calculator.
Copy the code from the given textarea and use it.
Preview
Enter values to the Textbox and then find the permutations.
Downloads
Javascript Code
<!-- Script by hscripts.com --> <!-- More script @www.hscripts.com --> <script type="text/javascript"> function cal() { var n=frm.txt.value; var r=frm.txt1.value; if(n=="" || r=="") { alert("Please Enter proper values"); frm.txt2.value=""; } else { var f=1; for(var i=1;i<=n;i++) { f=f*i; } var r1=n-r; var res=1; for(i=1;i<=r1;i++) { res=res*i; } var res1=f/res; frm.txt2.value=Math.round(res1*Math.pow(10,2))/Math.pow(10,2); } } function isInteger(s) { var i; s=s.toString(s); for(i=0;i<s.length;i++) { var c=s.charAt(i); if(isNaN(c)) { alert("Given value is not a number"); frm.txt.value=""; return false; } } return true; } function isInteger1(s) { var i; s=s.toString(s); for(i=0;i<s.length;i++) { var c=s.charAt(i); if(isNaN(c)) { alert("Given value is not a number"); frm.txt1.value=""; return false; } } return true; } </script> <!-- Script by hscripts.com -->
For customization of this script or any script development, mail to support@hscripts.com
Usage
Copy the javascript code into the head part of your HTML page.
Create a HTML form using the above HTML code.
Here,the function "cal()" is used to find out the permutations for the specified values. The functions "isInteger()","isInteger1()" is used to check the given value is string or an integer.
npr calculation is used in probability.
Copy the code into your page and use it.
License
The javascript (misspelled as java script) is given under GPL License.
i.e. Free use for those who use it as it is.
Free, if your modification does not remove our copyright information and links.