document.write( "Question 468417: I cannot for the life of me figure this one out, I have tried several time and still come up with the wrong answer. The questions is:
\n" ); document.write( "The access code for a garage door consists of three digits. Each digit can be 2 through 7 and each digit can be repeated.
\n" ); document.write( "a)Find the number of possible access codes
\n" ); document.write( "b)What is the probability of randomly selecting the correct access code?
\n" ); document.write( "c)What is the probability of not selecting the correct access code?\r
\n" ); document.write( "\n" ); document.write( "Thank you
\n" ); document.write( "

Algebra.Com's Answer #321409 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
there are 6 digits from 2 through 7.
\n" ); document.write( "they are: {2,3,4,5,6,7}
\n" ); document.write( "The number of possible access codes are 6^3 = 216
\n" ); document.write( "The probability of randomly selecting the correct access code is (1/6)^3 = 1/216.
\n" ); document.write( "The probability of not selecting the correct code is 1 - 1/216 = 215/216.
\n" ); document.write( "I can't show you all the codes because there are too many.
\n" ); document.write( "I can, however, show you a much simpler situation.
\n" ); document.write( "suppose the possible digits are 3 and 4.
\n" ); document.write( "That's 2 possible selections per digit.
\n" ); document.write( "With repetition of digits, the number of possible combinations are 2^3 = 8
\n" ); document.write( "Those possible combinations are:
\n" ); document.write( "111
\n" ); document.write( "112
\n" ); document.write( "121
\n" ); document.write( "122
\n" ); document.write( "211
\n" ); document.write( "212
\n" ); document.write( "221
\n" ); document.write( "222
\n" ); document.write( "The probability of randomly selecting the correct code is (1/2)^2 which becomes 1/8.
\n" ); document.write( "Assume the code is 211.
\n" ); document.write( "You can see that there is only 1 code out of the 8 possible codes that contains 211.
\n" ); document.write( "The probability of selecting 211 randomly is therefore 1 out of 8.
\n" ); document.write( "The probability of NOT selecting the correct code is 1 - 1/8 = 7/8.
\n" ); document.write( "You can see that there are 7 out of 8 codes that do not contain 211.
\n" ); document.write( "With 6 possible numbers per digit, the number of possibilities is much greater and the probability of guessing the correct code is also much smaller.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );