the total revenue function for a certain product is given by R=490x dollars, and the total cost function for this product is C=30,000+50x+x^2 dollars, where x is the number of units of the product that are produced and sold.
a. find the profit function.
b. find the number of units that gives maximum profit.
c. find the maximum possible profit.