0

I am trying to find optimal price value, for which I need Optimal Quantity.

I need to evaluate this : 10- 2*Q/5 = 1. I want to get the value of Q here. want to use LHS and RHS as inputs as LHS is derived from D(Total Revenue Function) which is Marginal Revenue and Marginal Cost = 1.

 #Equation
 Marginal.cost <- 1
 Price = expression(50/5 - Q/5)
 Total.Revenue = expression(Q*(50/5 - Q/5))
 Marginal.Revenue = D(TR,'Q')
 solve(Marginal.Revenue-Marginal.cost,Q)

last line is Only an expression of what I want to evaluate, Q when MR-MC=0 . How to solve it for Q? Marginal.Revenue is expression class variable.I need a Q value that satisfies, Marginal.Revenue = Marginal.Cost

anjali
  • 9
  • 2
  • 2
    `Marginal Revenue = D(Total Revenue) Marginal Revenue = Marginal Cost` These two lines appear to overwrite the value of `Marginal Revenue`? A lot of this appears as pseudocode - can you provide the actual R code you have tried? – Paul Stafford Allen Nov 18 '22 at 11:10

0 Answers0