Firm's Output and Cost Analysis