diff options
Diffstat (limited to '1475/CH1/EX1.18/Example_1_18.sce')
-rwxr-xr-x | 1475/CH1/EX1.18/Example_1_18.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1475/CH1/EX1.18/Example_1_18.sce b/1475/CH1/EX1.18/Example_1_18.sce new file mode 100755 index 000000000..b5de26ede --- /dev/null +++ b/1475/CH1/EX1.18/Example_1_18.sce @@ -0,0 +1,13 @@ +//Example 1.18
+clc;
+clear;
+N=1326;
+disp(N,"total No. of ways of seleting 2 cards(out of 52) one by one =");
+M1=325;
+disp(M1,"both are red cards= ");
+M2=169;
+disp(M2,"one is heart and the other is a diamod=");
+P1=M1/N;
+P2=M2/N;
+disp(P2,"Probability that one is heart and the other is a diamod= ",P1,"Probability that both are red cards=");
+
|