\n" );
document.write( "Hi, \n" );
document.write( "Note: The probability of x successes in n trials is: \n" );
document.write( "P = nCx* \n" );
document.write( "where p and q are the probabilities of success and failure respectively. \n" );
document.write( "In this case p = 1/6 q = 5/6 \n" );
document.write( "P(7 fives out of 17 rolls) = 17C7 (1/6)^7(5/6)^10 = .0112