document.write( "Question 1132195: A man alternatively tosses a coin and throws a die beginning with a coin. The probability that he gets a head a coin before he gets 5 or 6 in the fir is1 \n" ); document.write( "
Algebra.Com's Answer #749147 by greenestamps(13215)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "P(heads) = 1/2
\n" ); document.write( "P(tails) = 1/2
\n" ); document.write( "P(5 or 6) = 9/36 = 1/4
\n" ); document.write( "P(neither 5 nor 6) = 3/4

\n" ); document.write( "P(heads before 5 or 6) =
\n" ); document.write( "P((heads on first flip) OR
\n" ); document.write( " (tails on first flip AND neither 5 nor 6 on first roll AND heads on second flip) OR
\n" ); document.write( " (tails on first flip AND neither 5 nor 6 on first roll AND tails on second flip AND neither 5 nor 6 on second roll AND heads on third flip) OR
\n" ); document.write( "...)

\n" ); document.write( "= (1/2) + (1/2)(3/4)(1/2) + (1/2)(3/4)(1/2)(3/4)(1/2) + ...

\n" ); document.write( "This is an infinite geometric series with first term 1/2 and common ratio (1/2)(3/4) = 3/8.

\n" ); document.write( "The formula for the sum of an infinite geometric series with first term a and common ratio r (|r|<1) is

\n" ); document.write( "\"S+=+a%2F%281-r%29\"

\n" ); document.write( "You can do the calculation....
\n" ); document.write( "
\n" );