Answer:
F(d) = 30 + 0.50d
Step-by-step explanation:
Given
Charges = P8.00 ---- first 4 km
Additional = P0.50
Required
Write a function to address the scenario.
Represent the whole distance covered with d.
First,we need to determine the total charges for the first four hours.
Charges = 8.00 * 4
Charges = 32.00
Next, we determine the charges for additional distance.
Charges = 0.50 * (d - 4)
d - 4 is the remaining distance after the first 4.
Charges = 0.50d - 2
The function is then written as;
F(d) = 32 + 0.50d - 2
F(d) = 32 - 2 + 0.50d
F(d) = 30 + 0.50d