Competitive Firms and Markets: Characteristics and Profit Maximization