disp(0.1/0.3875, "probability that B =0 given G=1 "); disp(0.175/0.3875, "probability that B =1 given G=1 "); disp(0.1125/0.3875, "probability that B =2 given G=1 "); disp(0/0.3875, "probability that B =3 given G=1 "); //The values are taken from Table 4.2