Find the maximum profit and the number of units that must be produced and sold in order to yield the maximum profit. Assume that revenue, R(x), and cost, C(x), of producing x units are in dollars.
R(x)=50x-0.1x^2, C(x)=4x+1515
In order to yield the maximum profit of $ , units must be produced and sold.