Firms In Perfectly Competitive Markets