The speed midway between the allowed values is (65+40)/2 = 52.5
with the allowable variation 12.5 mph
F(x) =
15(40-x) for 1 ≤ x < 40
0 for 40 ≤ x ≤ 65
15(x-65) for 65 < x ≤ 100
Extra credit: what if it's a step function, like postage?
In a certain state, the maximum speed permitted on freeways is 65 mi/h and the minimum speed is 40 mi/h. The fine for violating these limits is $15 for every mile per hour above the maximum speed or below the minimum speed. Express the amount of the fine F as a function of the driving speed x and graph F(x) for 1≤ x≤100.
1 answer