Scarlett sells designer ponchos. The revenue, RRR, she makes from selling a batch of nnn ponchos is given by the function R(n)=20nR(n)=20nR, left parenthesis, n, right parenthesis, equals, 20, n, and the expenses, EEE, that she incurs from producing a batch of nnn ponchos is given by the function E(n)=10\cdot \sqrt{n}E(n)=10⋅
n
E, left parenthesis, n, right parenthesis, equals, 10, dot, square root of, n, end square root.
Let PPP be the total profit Scarlett makes from producing and selling a batch of nnn ponchos.
Write a formula for P(n)P(n)P, left parenthesis, n, right parenthesis in terms of R(n)R(n)R, left parenthesis, n, right parenthesis and E(n)E(n)E, left parenthesis, n, right parenthesis.
P(n)=P(n)=P, left parenthesis, n, right parenthesis, equals
Write a formula for P(n)P(n)P, left parenthesis, n, right parenthesis in terms of nnn.