A business sells computer hardware (H) and software (S). The hardware sells for $70 and the software sells for $50. The total cost of selling these two goods is represented by this equation: TC = H^2 + HS + S^2
Find the maximum profit for this business, and the values of hardware and software where this is achieved.