tal-revenue and total-cost functions, find the total profit, the maximum value of the total profit, and the value of x at which it occurs.
Upper R left parenthesis x right parenthesis equals 1300 x minus x squared, Upper C left parenthesis x right parenthesis equals 3000 plus 30 x
The total profit, P(x)equals
negative x squared plus 1270 x minus 3000.
(Simplify your answer. Do not factor.)