Bike rental shop A charges $20 per kilometre travelled with no additional fee. Bike rental shop B charges only $8 per kilometre travelled, but has a starting charge of $35. If Bob plans to travel 7km by bike, which rental shop should he choose for a better price
Shop A Cost function C(k) where k is the number of kilometers used
C(k) = Cost per kilometer * k + Starting Charge
C(k) = 20k
With k = 7, we have:
C(7) = 20 * 7
C(7) = 140
Shop B Cost function C(k) where k is the number of kilometers used
C(k) = Cost per kilometer * k + Starting Charge
C(k) = 8k + 35
With k = 7, we have:
C(7) = 8 * 7 + 35
C(7) = 56 + 35
C(7) = 91
Bog should choose Shop B since they have the better price for 7km
Shop A Cost function C(k) where k is the number of kilometers used
C(k) = Cost per kilometer * k + Starting Charge
C(k) = 20k
With k = 7, we have:
C(7) = 20 * 7
C(7) = 140
Shop B Cost function C(k) where k is the number of kilometers used
C(k) = Cost per kilometer * k + Starting Charge
C(k) = 8k + 35
With k = 7, we have:
C(7) = 8 * 7 + 35
C(7) = 56 + 35
C(7) = 91
Bog should choose Shop B since they have the better price for 7km