document.write( "Question 387985: Suppose you randomly choose a number between 1 and 100. What are the odds against choosing a prime number?\r
\n" ); document.write( "\n" ); document.write( "Your computer password has 4 capital letters followed by 3 digits. Your friend randomly chooses 4 capital letters and 3 digits. Use a calculator to find the probability that your friend chooses your password.?
\n" ); document.write( "

Algebra.Com's Answer #274278 by jsmallt9(3758)\"\" \"About 
You can put this solution on YOUR website!
For the first problem you will just have to count the number of prime numbers between 1 and 100. (Remember that 1 is not considered prime or composite.) The probability will be the number of primes over the total number of possible numbers (100).

\n" ); document.write( "For the second problem, since it does not say that the 4 letters must be difference we must assume that repetitions are possible. And we must also assume that your friend gets only one guess.

\n" ); document.write( "The number of possible passwords would be:
\n" ); document.write( "26*26*26*26*10*10*10
\n" ); document.write( "The probability of your friend guessing your password in one guess:
\n" ); document.write( "1/26*26*26*26*10*10*10
\n" ); document.write( "(Use your calculator to simplify the denominator.)
\n" ); document.write( "
\n" );