document.write( "Question 253431: I have been trying to work a problem and the answer I come up with does't seem correct. The problem is as follows:\r
\n" );
document.write( "\n" );
document.write( "In an unusual salary arrangement for a temporary worker hired for 30 days, the pay on the first day is 1 cent, on the second day it is 2 cents, and the pay doubles each day. What is the total pay for the 30 days worked. \r
\n" );
document.write( "\n" );
document.write( "My answer is - $80,530,636.95 which doesn't seem right. Wondering where I am going wrong. \r
\n" );
document.write( "\n" );
document.write( "Lori \n" );
document.write( "
Algebra.Com's Answer #185715 by hokies(65)![]() ![]() You can put this solution on YOUR website! The answer is: pay = 2^days - 1 (in cents; test it out for yourself for the first few days) \n" ); document.write( "So pay = 2^30-1 = 1073741823 cents = $10737418.23 \n" ); document.write( " |