% LMex020701_4th.m
% Example 2.6.21 p 109 in
% Larsen & Marx (2006) Introduction to Mathematical Statistics, 4th edition
% Writtten by Eugene Gallagher, Eugene.Gallagher@umb.edu
% http://alpha.es.umb.edu/faculty/edg/files/edgwebp.html
% Written 1/15/2011 & last revised 1/16/2011
% An urn contains eight chips, numbered 1 through 8. A sample of three is
% drawn without replacement. What is the probability that the largest chip
% in the sample is a 5?
P=nchoosek(4,2)/nchoosek(8,3)