document.write( "Question 471094: rental car costs $25 per day plus
\n" ); document.write( "$0.20 per mile. If someone has $200 to spend and
\n" ); document.write( "needs to drive the car 90 miles each day, for how
\n" ); document.write( "many days can that person rent the car?
\n" ); document.write( "

Algebra.Com's Answer #323130 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+d+\" = number of days the person can rent the car
\n" ); document.write( "The formula to use is:
\n" ); document.write( "(cost of the rental) = (cost per day)x(number of days) + (cost per mile)x(number of miles)
\n" ); document.write( "and
\n" ); document.write( "(number of miles) = (miles per day)x(number of days)
\n" ); document.write( "given:
\n" ); document.write( "Cost per day = \"25\" dollars/day
\n" ); document.write( "Cost per mile = \"+.02+\" dollars/mi
\n" ); document.write( "Miles per day = \"+90+\" mi/day
\n" ); document.write( "The formula must be OK dimensionally, that is
\n" ); document.write( "it must be dollars = dollars
\n" ); document.write( "----------------------------
\n" ); document.write( "\"+200+=+25%2Ad+%2B+.02%2A90%2Ad+\"
\n" ); document.write( "\"+200+=+25d+%2B+1.8d+\"
\n" ); document.write( "\"+200+=+d%2A%2825+%2B+1.8%29+\"
\n" ); document.write( "\"+26.8d+=+200+\"
\n" ); document.write( "\"+d+=+7.463+\"
\n" ); document.write( "The fraction of a day would not be allowed, so
\n" ); document.write( "the person could rent the car for 7 days
\n" ); document.write( "That means
\n" ); document.write( "\"+25%2A7+%2B+.02%2A90%2A7+\"
\n" ); document.write( "\"+175+%2B+12.6+\"
\n" ); document.write( "\"+187.6+\"
\n" ); document.write( "They would spend $187.60
\n" ); document.write( "
\n" );