blob: 5e4e2cd1b7402b6209b95f2ae1f2c9f7b3766a4c (
plain)
1
2
3
4
5
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')
|