Practice problem
Piecewise Linear Functions
Parking garages often offer different prices based on how long you are parked. There is an hourly rate of dollars per hour; however, if you are parked for or more hours there is a flat rate of dollars. If you are parked for or more hours, the cost is dollars plus an extra per hour past hours up to hours. What is the piecewise function that represents the pricing of a parking garage?