document.write( "Question 1144286: A code involves four of numbers from the set {0,1,2}. Use tree diagramming to obtain all possible codes. \n" ); document.write( "
Algebra.Com's Answer #765402 by ikleyn(52786)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "They say:  a code is four-digit number, and every of its four digits is either 0, or 1 or 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Repeating is allowed, since the opposite is not stated.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus the set of codes is the set of ALL four-digit numbers, where each digit is either 0, or 1, or 2 independently each of the other.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Hence, there are 3 opportunity for each of four digits (places) - it gives you \"3%5E4\" = 3*3*3*3 = 81 possible codes, in all.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The most important lesson to learn from this solution is that \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    the set of all possible codes is the set of all 4-digit numbers with the digits 0, 1 and 2.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "That is all.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );