A parking garage charges according to the following piecewise function
\(C(t)= \begin{cases}5, & \text{for }\ 0<t \leq 1 \\ 5+3(t-1), & \text{for }\ 1<t \leq 4 \\ 18, & \text{for }\ t>4\end{cases}\)
where \(C\) is the cost in dollars and \(t\) is time in hours.
How much does it cost to park for 3.5 hours?
- $11.50
- $12.50
- $13.50
- $18.00