diff options
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 |