Oceanside Bike Rental Shop charges 16 dollars plus 6 dollars an hour for renting a bike. Mary paid 58 dollars to rent a bike. How many hours did she pay to have the bike checked out ?
Set up the cost function C(h) where h is the number of hours you rent the bike:
C(h) = Hourly rental cost * h + initial rental charge
C(h) = 6h + 16
Now the problem asks for h when C(h) = 58, so we set C(h) = 58:
6h + 16 = 58
To solve this equation for h, we type it in our math engine and we get:
h = 7 hours
Set up the cost function C(h) where h is the number of hours you rent the bike:
C(h) = Hourly rental cost * h + initial rental charge
C(h) = 6h + 16
Now the problem asks for h when C(h) = 58, so we set C(h) = 58:
6h + 16 = 58
To solve this equation for h, we type it in our math engine and we get:
h = 7 hours