document.write( "Question 441252: Mary has 14 hats. She has 4 green, 2 blue and 8 red. If she selects two hats what is the probability that both hats are different colors?
\n" ); document.write( "Round your answer to two decimal places.
\n" ); document.write( "

Algebra.Com's Answer #304595 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
 
\n" ); document.write( "Hi, Previously posted
\n" ); document.write( " Mary has 30 hats. She has 5 green, 7 blue, 12 red, and 6 brown.
\n" ); document.write( " selects two hats at random
\n" ); document.write( "P(they are different colors) = 1 - P(both are the same color)
\n" ); document.write( "P(both are the same color) = 5/30*4/29 + 7/30*6/29 + 12/30*11/29 + 6/30*5*29
\n" ); document.write( " = (20 + 42 + 132 + 30)/30*29 = 224/30*29 = .2575
\n" ); document.write( "P(they are different colors) = 1 -.2575 = .7425 \n" ); document.write( "
\n" );