To represent the cost to play based on the number of hours played (h), we can form the following piecewise equation:
\[ C(h) = \begin{cases} 15 & \text{if } 0 < h \leq 1 \ 15 + 5 \times (h - 1) & \text{if } h > 1 \end{cases} \]
Now, to calculate the cost for 3 hours:
Since \( h = 3 \) is greater than 1, we will use the second part of the piecewise equation:
\[ C(3) = 15 + 5 \times (3 - 1) \]
Calculating it step by step:
- \( 3 - 1 = 2 \)
- \( 5 \times 2 = 10 \)
- \( C(3) = 15 + 10 = 25 \)
Thus, the cost to play for three hours is:
\[ C = 25.00 \]
So, the answer is \( C = \text{ } 25.00 \)