summaryrefslogtreecommitdiff
path: root/1475/CH1/EX1.39/Example_1_39.sce
diff options
context:
space:
mode:
Diffstat (limited to '1475/CH1/EX1.39/Example_1_39.sce')
-rwxr-xr-x1475/CH1/EX1.39/Example_1_39.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1475/CH1/EX1.39/Example_1_39.sce b/1475/CH1/EX1.39/Example_1_39.sce
new file mode 100755
index 000000000..2c7fa712a
--- /dev/null
+++ b/1475/CH1/EX1.39/Example_1_39.sce
@@ -0,0 +1,9 @@
+// Example 1.39 The odds in favour of an event A are 3:4.
+clc;
+clear;
+A=3/7;
+B=4/11
+AB=A*B;
+disp(A,"Probab. of occurrence of A are P(A)=",B,"Probab. of occurrence of B are P(B)=");
+disp(A+B-AB,"The probab. of at least one of the events A and B is given by ");
+