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.39/Example_1_39.sce | |
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.39/Example_1_39.sce')
-rwxr-xr-x | 1475/CH1/EX1.39/Example_1_39.sce | 9 |
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 ");
+
|