diff options
Diffstat (limited to '1475/CH1/EX1.35')
-rwxr-xr-x | 1475/CH1/EX1.35/Example_1_35.sce | 9 | ||||
-rwxr-xr-x | 1475/CH1/EX1.35/Output_1_35.PNG | bin | 0 -> 7692 bytes |
2 files changed, 9 insertions, 0 deletions
diff --git a/1475/CH1/EX1.35/Example_1_35.sce b/1475/CH1/EX1.35/Example_1_35.sce new file mode 100755 index 000000000..6de305923 --- /dev/null +++ b/1475/CH1/EX1.35/Example_1_35.sce @@ -0,0 +1,9 @@ +// Example 1.35 Find the values of following probabilites
+clc;
+clear;
+A= 1/2 ;
+B= 1/3;
+AB= 1/4;
+//disp(AB,"P(AB)=", B, "P(B)=",A,"P(A)=");
+disp((1-A)+B-(B-AB),"P(~A + B)=",1-(A+B-AB),"P(~A~B)",B-AB,"P(~AB)",AB/B,"P(A/B)",A+B-AB,"P(A+B)=",1-A,"P(~A)");
+disp("Events A and B are neither mutually exclusive nor exhaustive nor equally likely nor independent ")
diff --git a/1475/CH1/EX1.35/Output_1_35.PNG b/1475/CH1/EX1.35/Output_1_35.PNG Binary files differnew file mode 100755 index 000000000..a32d36584 --- /dev/null +++ b/1475/CH1/EX1.35/Output_1_35.PNG |