Postage rates are given for all weights greater than
\(0\) ounces up to and including
\(7\) ounces, so the domain of the function is the half-open interval
\((0, 7]\text{.}\) (The domain is an interval because there is a point on the graph for every
\(w\)-value from
\(0\) to
\(7\text{.}\)) The range of the function is not an interval, however, because the possible values for
\(p\) do not include all the real numbers between
\(0.3\) and
\(1.75\text{.}\) The range is the set of discrete values
\(0.47\text{,}\) \(0.68\text{,}\) \(0.89\text{,}\) \(1.10\text{,}\) \(1.31\text{,}\) \(1.52\text{,}\) and
\(1.73\text{.}\)