To represent the cost to play at the arcade based on the number of hours played, we can write the following piecewise function:
\[ C(h) = \begin{cases} 15 & \text{if } 0 < h \leq 1 \ 15 + 5 \times (h - 1) & \text{if } h > 1 \end{cases} \]
In this case:
- For the first hour (up to 1 hour), the cost \(C(h)\) is $15.
- After the first hour, for each additional hour, the cost increases by $5 for every hour beyond the first.
Now, let's calculate the cost to play for three hours:
- For the first hour, it costs $15.
- The additional time is \(3 - 1 = 2\) hours.
- The cost for the additional hours is \(5 \times 2 = 10\).
So, the total cost for three hours is:
\[ C(3) = 15 + 10 = 25 \]
Thus, the cost to play for three hours is $25.00.