diff options
Diffstat (limited to '1475/CH1/EX1.26')
-rwxr-xr-x | 1475/CH1/EX1.26/Example_1_26.sce | 12 | ||||
-rwxr-xr-x | 1475/CH1/EX1.26/Output_1_26.PNG | bin | 0 -> 8663 bytes |
2 files changed, 12 insertions, 0 deletions
diff --git a/1475/CH1/EX1.26/Example_1_26.sce b/1475/CH1/EX1.26/Example_1_26.sce new file mode 100755 index 000000000..8202404fc --- /dev/null +++ b/1475/CH1/EX1.26/Example_1_26.sce @@ -0,0 +1,12 @@ +//Example 1.26 A lady declares that by testing a cup of tea with milk
+clc;
+clear;
+N1=(factorial(10)/(factorial(5)*factorial(5)));
+disp(N1,"total no. of ways in which 10 cups of tea are prepared with 5 in one way and 5 in other =");
+M= 1;
+disp(M,"No. of favourable cases are =");
+N2= (2^5);
+disp(N2, "total no. of ways if cups are presented in pair =")
+P1=M/N1;
+P2=M/N2
+disp(P2,"The required Probability is =",P1," The required Probability is = ");
diff --git a/1475/CH1/EX1.26/Output_1_26.PNG b/1475/CH1/EX1.26/Output_1_26.PNG Binary files differnew file mode 100755 index 000000000..6e2317e31 --- /dev/null +++ b/1475/CH1/EX1.26/Output_1_26.PNG |