A mechanic will charge a new customer $45.00 for an initial diagnosis plus $20 an hour of labor. How long did the mechanic work on a car if he charged the customer $165?
We set up a cost function C(h) where h is the number of hours of labor:
C(h) = Hourly Labor Rate * h + Initial Diagnosis
C(h) = 20h + 45
The problem asks for the number of hours if C(h) = 165. So we set our cost function C(h) above equal to 165:
20h + 45 = 165
To solve for h, we plug this equation into our search engine and we get:
h = 6
We set up a cost function C(h) where h is the number of hours of labor:
C(h) = Hourly Labor Rate * h + Initial Diagnosis
C(h) = 20h + 45
The problem asks for the number of hours if C(h) = 165. So we set our cost function C(h) above equal to 165:
20h + 45 = 165
To solve for h, we plug this equation into our search engine and we get:
h = 6