This applet simulates families of three children. The probability of having a boy on any attempt can be changed in the parameter statement. The percantage of times "x" number of girls occurs is updated in the bar chart. There is a 2nd applet on the page that is the same as above, but the families stop having children after the first boy or after they have had 3 girls.