Pretend you own a company that sells items over the Internet. You decide that shipping costs will be based on the total weight of a customer's purchase.
Write a piecewise function for your shipping charges. Include from three to five weight intervals.
f(x) = 5 if x <10
, 10 if 10 < x < 20
, 15 if x > 20
,Does this make sense? Shipping costs $5 if the item weighs less than 10 lbs, $10 if the item weighs more than 10 lbs but less than 20 lbs, and $15 if the item weighs more than 20 lbs?