document.write( "Question 102540: 6 people are going on vacation. The total for the cabin rental is $885.40.
\n" ); document.write( "4 of the six people are staying for 7 nights while the other 2 are staying for 6 nights. To be fair to everyone I need to know how much the 4 owe for 7 nights and the 2 owe for 6 nights. It seems simple, but for the life of me I can't figure it out. Your help with this would be greatly appreciated.
\n" ); document.write( "

Algebra.Com's Answer #74581 by doukungfoo(195)\"\" \"About 
You can put this solution on YOUR website!
Well if the cost of the cabin rental for 7 nights is $885.40
\n" ); document.write( "Then the cost per night would be
\n" ); document.write( "885.40/7 = 126.4857143
\n" ); document.write( "now for the first six nights this cost per night is being split 6 ways so
\n" ); document.write( "126.4857143/6 = 21.08095238
\n" ); document.write( "So for the first six nights everyone chips in aprox. $21.08 each night.
\n" ); document.write( "Now the last night there are only 4 people to split the cost.
\n" ); document.write( "The cost is still the same 126.4857143 per night that we already figured, but this time there are only 4 people so the cost per person for the last night is
\n" ); document.write( "126.4857143/4 = 31.62142858
\n" ); document.write( "So for the last night the remaining 4 people each chip in aprox. $31.62\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Ok lets see what we've got the total cost for each person staying 7 nights is
\n" ); document.write( "$158.11
\n" ); document.write( "And the total cost for the two people only staying 6 nights is
\n" ); document.write( "$126.48
\n" ); document.write( "Lets check this against the known total cost of the room.
\n" ); document.write( "If 4 people each chip in $158.11 thats 4*158.11 = $632.44
\n" ); document.write( "and 2 people each chip in $126.48 thats 2*126.48 = $252.96
\n" ); document.write( "632.44 + 252.96 = $885.40\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );