If the postal rate for first class letters is 49 cents for the first ounce or portion of an ounce, and 21 cents for every ounce or portion of an ounce after the first, then find the cost of sending a letter weighing ounces, where is some positive real number.
Use to stand for the greatest integer less than , as usual. Do not use the ceiling function, , to round up.
Solution
So the problem calls for an expression that rounds up, but we’re only given a function that rounds down.
Here’s one way to do it: .