document.write( "Question 122541: I stuck on this problem and have been for a while. I hope you can help me out!!\r
\n" ); document.write( "\n" ); document.write( "A quiz program gives a prize of $5 for teh first question answered correctly. The contestant's prize winnings are doubled for each question after the first. How many questions would you need to answer to exceed $1,000,000 in total prize money?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #89964 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A quiz program gives a prize of $5 for the first question answered correctly. The contestant's prize winnings are doubled for each question after the first. How many questions would you need to answer to exceed $1,000,000 in total prize money?
\n" ); document.write( "5,10,20,40,80,160....
\n" ); document.write( "This is a geometric sequence with r=2 and a=5
\n" ); document.write( "---------
\n" ); document.write( "Sum Formula:
\n" ); document.write( "S(n) = a[1-r^(n)]/[1-r]
\n" ); document.write( "Example:
\n" ); document.write( "S(2) = 5[1-2^(2)]/[1-2] = 5-3/-1 = 15
\n" ); document.write( "-------------
\n" ); document.write( "Your Problem:
\n" ); document.write( "1,000,000 = 5[(2^x)-1]/(2-1)
\n" ); document.write( "200,000 = (2^x)-1
\n" ); document.write( "200,001 = 2^x
\n" ); document.write( "Take the log of both sides to get:
\n" ); document.write( "x*log2 = log 200,001
\n" ); document.write( "x = [log200,001]/[log2]
\n" ); document.write( "x = 17.6096
\n" ); document.write( "-----------
\n" ); document.write( "When you answer 18 correctly you will be above 1 million in earnings.
\n" ); document.write( "==============
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );