document.write( "Question 1112244: Ruth and William each have a bag that contains one ball each of the colors yellow, black, green, pink, white, blue and orange. Ruth randomly selects a ball from her bag and puts it in William's bag. Then William randomly selects a ball from his bag and puts it in Ruth's bag. What is the probability that after this the contents of the bag are the same as before? \n" ); document.write( "
Algebra.Com's Answer #727255 by ikleyn(52839)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "To restore the original content, William should take one of the two same color balls from the Ruth's bag.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "He can do it by two ways (select one of the two) having 7+1 = 8 options at all.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the probability under the question is \"2%2F8\" = \"1%2F4\" = 0.25 = 25%.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Notice that this probability does not depends on which ball (which color) will Ruth select.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );