diff options
Diffstat (limited to '1475/CH1/EX1.21/Example_1_21.sce')
-rwxr-xr-x | 1475/CH1/EX1.21/Example_1_21.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1475/CH1/EX1.21/Example_1_21.sce b/1475/CH1/EX1.21/Example_1_21.sce new file mode 100755 index 000000000..e0e1c39e7 --- /dev/null +++ b/1475/CH1/EX1.21/Example_1_21.sce @@ -0,0 +1,9 @@ +//Example 1.21 A batch contains 10 articles of which 4 are defective .
+clc;
+clear;
+N=120;
+disp(N,"total no. of ways in which 3 articles are selected out of 10 =");
+M= 20;
+disp(M,"No. of favourable cases are ");
+P=M/N;
+disp(,P,"Probability that 3 articles are chosen at random and none is defective = ");
|