is mc the derivative of tc?
From the original function total cost, take the first derivative to get the function for the slope, or rate of change of total cost for a given change in Q, also known as marginal cost. Now, follow the steps to minimize the marginal cost function.