### Home > APCALC > Chapter 1 > Lesson 1.2.1 > Problem 1-22

A graph showing the postage rates for letters weighing fewer than 5 ounces for the year 2015 is shown at right. This is another example of a step function. Homework Help ✎

How much would you pay for a letter weighing 2.9 ounces? For 3 ounces? For 3.1 ounces?

This piecewise function has five steps (or pieces). Look closely at the Boundary Points between pieces:

*x*= 1 oz,*x*= 2 oz,*x*= 3 oz,*x*= 4 oz, etc. Will you pay a higher or lower rate if your item weighed exactly any of those amounts?Write a piecewise-defined function that determines the postage rates for letters weighing between 0 and 5 ounces. Let

*x*represent the weight in ounces, and*y*represent cost in dollars.Notice that this piecewise function consists of five horizontal pieces. Recall that a horizontal line is of the form

*y*=*k*, where*k*is a constant. Also, consider the boundary points: will ≤ or ≥ be appropriate?