In figure 7. 15 we worked out how the firm would maximize profit by finding the values of p and q. Webthe total cost function is the minimum cost of production for a given level of output q,and input prices wand r: C(q,w,r) = wl(q,w,r) + rk(q,w,r). For given input prices, the long. Webthis could involve reducing fuel consumption, minimizing maintenance costs, or increasing the efficiency of your routes. By following these steps, you can.