Total profit P is the difference between total revenue R and total cost C. Given the following​ total-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. R(x)= 1000x-(x squared) C(x)= 3400+10x .