Oscar makes a large purchase at Home Depot and plans to rent one of its trucks to take his supplies home. The most he wants to spend on the truck is $56.00. If Home Depot charges $17.00 for the first 75 minutes and $5.00 for each additional 15 min, for how long can Oscar keep the truck and remain within his budget?
Set up the cost equation C(m) where m is the number of minutes for rental:
C(m) = 17 * min(m, 75) + max(0, 5(m - 75))
If Oscar uses the first 75 minutes, he spends $17. So he's left with:
$56 - $17 = $38
$38 / $5 = 7 Remainder 3
We remove the remainder 3, since it's not a full 15 minute block. So Oscar can rent the truck for:
7 * 15 minute blocks = 105 minutes
Set up the cost equation C(m) where m is the number of minutes for rental:
C(m) = 17 * min(m, 75) + max(0, 5(m - 75))
If Oscar uses the first 75 minutes, he spends $17. So he's left with:
$56 - $17 = $38
$38 / $5 = 7 Remainder 3
We remove the remainder 3, since it's not a full 15 minute block. So Oscar can rent the truck for:
7 * 15 minute blocks = 105 minutes