To model the scenario described with a piecewise function, we need to define the cost \( y \) based on the number of hours \( x \):
- If \( 0 < x \leq 3 \): The cost is calculated as \( 15x + 20 \). This includes the hourly rate of $15 times the number of hours plus a $20 setup fee.
- If \( x > 3 \): The cost is calculated as \( 12x \). This reflects the hourly rate of $12 with no setup fee.
Based on the information provided, the piecewise function can be defined as follows:
\[ y = \begin{cases} 15x + 20 & 0 < x \leq 3 \ 12x & x > 3 \end{cases} \]
Now, let's look at the options provided:
-
y = {15 + 20, 0<x≤3; 12, x>3}
- This is incorrect because it does not include \( x \) in the first part.
-
y = {15x + 20, 0<x<3; 12x, x≥3}
- This is incorrect because it does not include \( x = 3 \) in the first part.
-
y = {15x + 20, 0<x≤3; 12x, x>3}
- This is correct. It accurately captures the piecewise function, including \( x = 3 \) in the first part.
-
y = {15 + 20x, 0<x≤3; 12, x>3}
- This is incorrect because it misrepresents the equations.
Thus, the correct equation for the piecewise function that models the scenario is:
y = {15x + 20, 0<x≤3; 12x, x>3}