blob: 3a472d26e9b31e05da69e275131e2006f232c289 (
plain)
1
2
3
4
5
6
7
8
|
//Example 1.14
N=4;
disp(N,"total No. of possible outcomes (N)=");
M=2;
disp(M,"No. of Favorable cases(both heads or both tails)=");
P1=M/N;
disp(P1,"Probab. of (both heads or both tails)=");
|