diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1475/CH2/EX2.23 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1475/CH2/EX2.23')
-rwxr-xr-x | 1475/CH2/EX2.23/Example_2_23.sce | 8 | ||||
-rwxr-xr-x | 1475/CH2/EX2.23/Output_2_23.PNG | bin | 0 -> 2571 bytes |
2 files changed, 8 insertions, 0 deletions
diff --git a/1475/CH2/EX2.23/Example_2_23.sce b/1475/CH2/EX2.23/Example_2_23.sce new file mode 100755 index 000000000..b7a69841a --- /dev/null +++ b/1475/CH2/EX2.23/Example_2_23.sce @@ -0,0 +1,8 @@ +//Example 2.23 A dice is rolled 6 times
+clc;
+clear;
+p=1/6;
+n=6;
+x=1;
+probab=(factorial(n)*p*p*p*p*p*p)/(factorial(x)*factorial(x)*factorial(x)*factorial(x)*factorial(x)*factorial(x));
+disp(probab,"the required probability",n,"No. of independent trials");
diff --git a/1475/CH2/EX2.23/Output_2_23.PNG b/1475/CH2/EX2.23/Output_2_23.PNG Binary files differnew file mode 100755 index 000000000..48292cad5 --- /dev/null +++ b/1475/CH2/EX2.23/Output_2_23.PNG |