1 var optimization

ratprint:false; kill(all);

Cost: 10*Q+30;

demand: Q=400*exp(-0.2*P);

P: rhs(solve(demand, P)[1]);

R: P*Q;

Profit: R-Cost;

30;

MR: diff(R,Q);

MC: diff(Cost, Q);

float(solve(MR=MC, Q));

plot2d([Profit, MR,MC], [Q,0, 40]);

Legal Notice: The copyright for this application is owned by the authors.
The authors are not responsible for any errors contained within and are not liable
for any damages resulting from the use of this material.
This application is intended for non-commercial, non-profit use only.
Contact the authors for permission if you wish to use this application in for-profit activities.
Contact address: Prof. Yukari Shirota, Faculty of Economics, Gakushuin University, 1-5-1 Mejiro,
Toshima-ku, Tokyo, 171-8588 JAPAN,  yukari.shirota@ipsj.or.jp