To model the total cost of renting the bouncy house using a piecewise function, we can define it based on the number of hours rented:
-
If the number of hours \( x \) is greater than 0 and less than or equal to 3, the total cost \( y \) can be expressed as: \[ y = 15x + 20 \] Here, $15 per hour comes from the hourly rate, and the $20 is the setup fee.
-
If the number of hours \( x \) is greater than 3, the total cost \( y \) is: \[ y = 12x \] In this case, there's no setup fee, and the cost is simply $12 per hour.
Thus, the complete piecewise function can be written as: \[ y = \begin{cases} 15x + 20 & 0 < x \leq 3 \ 12x & x > 3 \end{cases} \]
Now, analyzing the options provided, we see that the correct equation for the piecewise function is:
\[ y = \begin{cases} 15x + 20 & 0 < x \leq 3 \ 12x & x > 3 \end{cases} \]
So the correct response is:
y={15x+20, 0<x≤3; 12x, x>3} y equals left brace line 1 15 times x plus 20 comma 0 less than x less than or equal to three line 2 12 times x comma x greater than 3