45.7k views
3 votes
a jeepney ride in the sinakos 9 pesos for the first 4 kilometers and each additional km at 0.75 pesos to the fair use a piecewise function to represent the jeepney fare in terms of the distance in kilometers​

User Arif
by
6.3k points

1 Answer

4 votes

Answer: f(x) = 9 pesos if 0km ≤ x ≤ 4km

f(x) = 9 pesos + (x - 4km)*0.75 pesos if 4km ≤ x

Explanation:

Ok, we know that:

For the first 4km, we have a fixed price of 9 pesos.

For any km after the 4km mark, we have an extra of 0.75 pesos.

Then if x is the number of kilometers, we can write this as:

f(x) = 9 pesos if 0km ≤ x ≤ 4km

f(x) = 9 pesos + (x - 4km)*0.75 pesos if 4km ≤ x

Where we use (x - 4km) because we start counting after the 4km mark.

User Usman Riaz
by
6.7k points