document.write( "Question 282418: If your allowance was a penny doubled every day, how many days would it take for you to have over $1000.00? On which day would you have over %10000.00? how much money would you have on the 15th day? \n" ); document.write( "
Algebra.Com's Answer #207420 by Alan3354(69443)![]() ![]() You can put this solution on YOUR website! If your allowance was a penny doubled every day, how many days would it take for you to have over $1000.00? On which day would you have over %10000.00? how much money would you have on the 15th day? \n" ); document.write( "---------------------------- \n" ); document.write( "The total on the nth day is 2^n - 1 (cents) \n" ); document.write( "For $1000 and $10,000 (I assume that's what you meant) ignore the -$0.01. \n" ); document.write( " \n" ); document.write( "n*log(2) = log(100000) = 5 \n" ); document.write( "n = 5/log(2) =~ 16.6 --> 17 days \n" ); document.write( "2^17 = 131,072 = $1310.72 \n" ); document.write( "------------------------- \n" ); document.write( "Do the $10,000 the same way. \n" ); document.write( "----------------------------- \n" ); document.write( "An alternative is to look at the powers of 2, if you dont' know them. \n" ); document.write( "$10,000 --> 1,000,000 \n" ); document.write( "A lot of people recognize that 1 Meg = 2^20, which is close to 1,000,000 and the 64K (of RAM, eg) = 2^16. \n" ); document.write( "------------------------------ \n" ); document.write( "1 Gig = 2^30 = 1073741824 \n" ); document.write( "--------------------------- \n" ); document.write( "I don't know what 1 terabyte (2^40) is from memory. \n" ); document.write( "------------ \n" ); document.write( "On day 15, you have 2^15 - 1 = 32767 \n" ); document.write( "= $327.67\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |