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.26 | |
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.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 |