summaryrefslogtreecommitdiff
path: root/2294/CH12/EX12.1
diff options
context:
space:
mode:
Diffstat (limited to '2294/CH12/EX12.1')
-rwxr-xr-x2294/CH12/EX12.1/EX12_1.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/2294/CH12/EX12.1/EX12_1.sce b/2294/CH12/EX12.1/EX12_1.sce
new file mode 100755
index 000000000..5e4e2cd1b
--- /dev/null
+++ b/2294/CH12/EX12.1/EX12_1.sce
@@ -0,0 +1,6 @@
+//Example 12.1
+//Show whether independent or not
+disp('Two events are independent if P(A and B)=P(A)P(B)')
+disp(0.28,'P(A and B)=')
+disp(0.8*0.35,'P(A)*P(B)=')
+disp('Hence A and B are independent')