write a function. f(x), that represents the cost of renting a car for x days with a total of 80 kilometers if there is a fixed charge of $17 per day and a charge of $0.35 per kilometer.
Sure! To write a function f(x) that represents the cost of renting a car for x days with a total of 80 kilometers, we need to incorporate the fixed charge per day and the charge per kilometer.
First, we calculate the charge for the fixed days, which is $17 per day multiplied by the number of days (x). This can be represented as 17x.
Next, we calculate the charge for the total kilometers. Since the charge is $0.35 per kilometer, we multiply the number of kilometers (80) by the charge per kilometer (0.35). This can be represented as 80 * 0.35.
Finally, we add the charges for the fixed days and the total kilometers to get the total cost of renting the car:
f(x) = 17x + (80 * 0.35)
So, the function f(x) can be written as:
f(x) = 17x + 28
This function will give you the cost of renting a car for x days with a total of 80 kilometers.