A profit-maximizing firm in a competitive