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/CH1/EX1.48 | |
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/CH1/EX1.48')
-rwxr-xr-x | 1475/CH1/EX1.48/Example_1_48.sce | 7 | ||||
-rwxr-xr-x | 1475/CH1/EX1.48/Output_1_48.PNG | bin | 0 -> 7938 bytes |
2 files changed, 7 insertions, 0 deletions
diff --git a/1475/CH1/EX1.48/Example_1_48.sce b/1475/CH1/EX1.48/Example_1_48.sce new file mode 100755 index 000000000..82e272d6b --- /dev/null +++ b/1475/CH1/EX1.48/Example_1_48.sce @@ -0,0 +1,7 @@ +// Example 1.48 Five men in a compan of 20 are graduated
+clc;
+clear;
+N=factorial(20)/(factorial(3)*factorial(17));
+M1=(factorial(5)/(factorial(2)*factorial(3)))*(factorial(15)/(factorial(0)*factorial(15)));
+M2=(factorial(5)/(factorial(0)*factorial(5)))*(factorial(15)/(factorial(3)*factorial(12)));
+disp(1-(M2/N),"Probab. taht atleast one is graduate =",M1/N,"Probab. that all 3 are graduate =",M2,"No. of ways to select 3 men such that no one is Graduate=",M1,"No. of ways to select 3 men such that they are Graduate=",N,"No. of ways of selecting =");
diff --git a/1475/CH1/EX1.48/Output_1_48.PNG b/1475/CH1/EX1.48/Output_1_48.PNG Binary files differnew file mode 100755 index 000000000..e042ce1e1 --- /dev/null +++ b/1475/CH1/EX1.48/Output_1_48.PNG |