//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')