A linear model adds the same cost for every extra pound. When two weights and their prices are given, keep each price paired with its weight, then use a Desmos regression to find the per-pound rate and the fixed charge. Evaluate the model at the requested weight. A quoted price isn't the fixed charge unless its weight is zero.
Hints
- Hint 1
Each weight is an input, and its shipping cost is the matching output. Keep the pairs together: what do the two prices tell you when you put their weights into ?
- Hint 2
The slope is the cost added per pound; the intercept is the cost at zero pounds. Neither quoted price is automatically the intercept. How can you use both weight-cost pairs to find the slope and intercept?
- Hint 3
Once you have the model, evaluate it at the requested weight. In , the is the weight going in, and the result is the shipping cost coming out.
Step-by-step
Approach 1: Fit and evaluate the shipping model
Step 1Turn the two prices into equations
The -pound package costs $8.45, and the -pound package costs $14.05. Keep each cost with its weight when you put them into the given formula:
- Step 2
Find the rate and fixed charge
Type , then . The tells Desmos to fit both prices at once. Under PARAMETERS, it shows and . The slope means $1.40 per pound; the intercept means $4.25 at zero pounds. A quoted cost is the intercept only when its input is zero. Don't use $8.45 as : that package already weighs pounds.
- Step 3
Find the 12-pound cost
Type below those lines. Desmos displays , the cost in dollars when the weight is 12 pounds. So shipping the package costs $21.05. Choice B.
Approach 2: Start from a known price
Step 1Find the cost per pound
You can skip finding the fixed charge. From to pounds, the price rises from $8.45 to $14.05. The rate of change is the price change divided by the weight change. Type ; Desmos displays dollars per pound.
- Step 2
Add only the cost of the extra weight
Start at the known $14.05 cost for pounds. A -pound package is pounds heavier, so type . Desmos displays . The shipping cost is $21.05. Choice B.