Energy cost for a Car The cost of the electricity needed to
drive an all-electric car is about 4 cents per mile. The cost of
the gasoline needed to drive the average gasoline-powered
car is about 12 cents per mile.
(a) Find a formula that models the energy cost $C$ of driving
$x$ miles for (i) the all-electric car and (ii) the average
gasoline-powered car.
(b) Find the cost of driving $10,000$ mi with each type of car.