document.write( "Question 503468: A truck driving 260 miles over a flat interstate at a constant rate of 50 miles per hour gets 7 miles to the gallon. Fuel cost $3.50 per gallon. For each mile per hour increase in speed, the truck loses a tenth of a mile per gallon in its mileage. Driver gets $27.50 per hour in wages and fixed cost for running the truck amount to $11.33 per hour. What Constant Speed (between 50 mph and the speed limit of 65 mph) should the truck drive to minimize the total cost of the trip?\r
\n" ); document.write( "\n" ); document.write( "A. Let's start out by finding how long the trip will take?\r
\n" ); document.write( "\n" ); document.write( "B. Now, with this time known, how much will it cost to pay the driver and run the truck?\r
\n" ); document.write( "\n" ); document.write( "I need help with just setting up the problem and doing A and B, this is a huge math project and I think If i can have help with the first couple few I can do the rest.
\n" ); document.write( "

Algebra.Com's Answer #339290 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A truck driving 260 miles over a flat interstate at a constant rate of 50 miles per hour gets 7 miles to the gallon. Fuel cost $3.50 per gallon.
\n" ); document.write( "For each mile per hour increase in speed, the truck loses a tenth of a mile per gallon in its mileage.
\n" ); document.write( "Driver gets $27.50 per hour in wages and fixed cost for running the truck amount to $11.33 per hour.
\n" ); document.write( " What Constant Speed (between 50 mph and the speed limit of 65 mph) should the truck drive to minimize the total cost of the trip?
\n" ); document.write( ";
\n" ); document.write( "A. Let's start out by finding how long the trip will take?
\n" ); document.write( "\"260%2F50\" = 5.2 hrs to make the 260 mi trip at 50 mph
\n" ); document.write( ":
\n" ); document.write( "B. Now, with this time known, how much will it cost to pay the driver and run the truck?
\n" ); document.write( "5.2 * 27.50 = $143.00, for the driver
\n" ); document.write( "5.2 * 11.33 = $58.92, for the truck
\n" ); document.write( "----------------------
\n" ); document.write( "total cost: $201.92
\n" ); document.write( ":
\n" ); document.write( "Cost for gas: \"260%2F7\" * 3.50 = $130.00 for gas (at 50 mph)
\n" ); document.write( "add to the above cost: 201.92 + 130 = $331.92 total for the 260 mi trip
\n" ); document.write( ":
\n" ); document.write( "Correct a math error above, but also:
\n" ); document.write( ":
\n" ); document.write( "\"What Constant Speed (between 50 mph and the speed limit of 65 mph) should the truck drive to minimize the total cost of the trip? :
\n" ); document.write( "Speed affects time which affects cost
\n" ); document.write( "Speed also affect gas mileage
\n" ); document.write( "let s = speed
\n" ); document.write( "then
\n" ); document.write( "\"260%2Fs\" = time
\n" ); document.write( "and
\n" ); document.write( "\"260%2F%287-.1%28s-50%29%29\" = amt of gas required
\n" ); document.write( ":
\n" ); document.write( "Write a cost equation which is in terms of speed (s)
\n" ); document.write( "Cost = driver time + truck time + gas used
\n" ); document.write( "C(s) = \"260%2Fs\"*27.50 + \"260%2Fs\"*11.33 + \"260%2F%287-.1%28s-50%29%29\"*3.50
\n" ); document.write( "
\n" );