//Example 1.13 N=4; disp(N,"total No. of possible outcomes (N)="); M1=0; disp(M1,"No. of Favorable cases(3 heads)="); M2=4 disp(M2,"No. of Favorable cases(not more than 3 heads)="); P1=M1/N; P2=M2/N; disp(P2,"Probab. of (not more than 3 heads)=",P1,"Probab. of (3 heads)=");