//Example 1.16 clc; clear; N=10; disp(N,"total No. of Balls (white+Black) (N)="); M1=6; disp(M1,"No. of (White Balls)= "); M2=4; disp(M2,"No. of (Black Balls)= "); P1=M1/N; disp(P1,"Probability of white ball to be drawn is=");