say 40% of the class is female.What is the probability that 6 of the first 10 students walking in will be female?
10C6 * 0.4^6 * 0.6^4
nCr(10,6)*0.4^6*0.6^4 = 0.111476736