A taxi cab in Chicago charges $3 per mile and $1 for every person. If the taxi cab ride for two people costs $20. How far did the taxi cab travel.
Set up a cost function C(m) where m is the number of miles driven:
C(m) = cost per mile * m + per person fee
Calculate per person fee:
per person fee = $1 per person * 2 people
per person fee = $2
With a cost per mile of $3 and per person fee of $2, we have:
C(m) = cost per mile * m + per person fee
C(m) = 3m + 2
The problem asks for m when C(m) = 20, so we set 3m + 2 equal to 20:
3m + 2 = 20
To solve this equation for m, we plug it in our search engine and we get:
m = 6
Set up a cost function C(m) where m is the number of miles driven:
C(m) = cost per mile * m + per person fee
Calculate per person fee:
per person fee = $1 per person * 2 people
per person fee = $2
With a cost per mile of $3 and per person fee of $2, we have:
C(m) = cost per mile * m + per person fee
C(m) = 3m + 2
The problem asks for m when C(m) = 20, so we set 3m + 2 equal to 20:
3m + 2 = 20
To solve this equation for m, we plug it in our search engine and we get:
m = 6