Solving for the Cost-Minimizing Capital-Labor Ratio