Economic Analysis of a Firm