document.write( "Question 1200499: A hacker is trying to guess someone's password. The hacker knows (somehow) that the password is 4 digits long, and that each digit could be a number between 0 and 5. Assume that the hacker makes random guesses.
\n" ); document.write( "What is the probability that the hacker guesses the password on his first try? Please report the answer to four decimal places.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #834644 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: 0.0008\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Reason:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A = 1 = number of correct passwords
\n" ); document.write( "B = 6*6*6*6 = 6^4 = 1296 = number of possible 4-digit passwords such that each digit is between 0 and 5 (there are 5-0+1 = 6 choices per digit)
\n" ); document.write( "Repeated digits are allowed.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A/B = 1/1296
\n" ); document.write( "A/B = 0.00077160493828
\n" ); document.write( "A/B = 0.0008 is the approximate probability they correctly guess the password on the first try if guessing at random.
\n" ); document.write( "This is about a 0.08% chance.
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );