contestada

A downtown parking lot charges $5 per hour for the fort 2 hours, then $2.50 per hour after that. Which equations describes the total cost y as a function of the hours x?

Respuesta :

We will get the piecewise function:

  • y = f(x) = $5*x  for 0 ≤ x ≤ 2
  • y = f(x) = $10 + $2.50*(x - 2)    for  2 < x

How to write the piecewise function?

We know that the parking lot charges $5 per hour for the first two hours, and then $2.50 per hour after that.

So the function behaves differently in different intervals of its domain, this will be a piecewise function. To write it, we just need to clarify how the function behaves in each part of the domain.

Here the function will be:

  • y = f(x) = $5*x  for 0 ≤ x ≤ 2
  • y = f(x) = $10 + $2.50*(x - 2)    for  2 < x

So for the first two hours (x is the number of hours), the cost is $5, then for any hour after that, the cost will be the $10 for the first two hours plus $2.50 for each hour after that.

That is the piecewise function that describes the total cost y as a function of the number of hours, x.

If you want to learn more about piecewise functions, you can read:

https://brainly.com/question/3628123

ACCESS MORE