
William W. answered 04/06/20
Math and science made easy - learn from a retired engineer
You don't really give much to go on but here goes nothing;
D = the number of days to rent the car.
C = Cost to rent a car for D number of days
R = Car Rental rate (dollars per day) that they charge.
Assuming that there are no flat fees for misc charges, then:
C = RD
If there are fees associated with renting (taxes, use fees, car rental facility fee, whatever), then we could add this costs in as well. Some of them might be based on a percentage of the car rental cost. Others might be flat fees that are regardless of overall cost. So we can treat them as two different variables:
F1 = Fees, taxes, and other charges that are based on the rental car cost (a percent written as a decimal)
F2 = Flat fees and charges charged regardless of rental car cost (written as a dollar value)
Then the equation would be:
C = RD(1 + F1) + F2