1 var optimization

ratprint:false; kill(all);

Q: 10*K^0.6*L^0.4;

cond: K+3*L=100;

Lag: Q+lambda*(rhs(cond)-lhs(cond));

la1: solve(diff(Lag,K)=0, lambda)[1];

la2: solve(diff(Lag,L)=0, lambda)[1];

la3: lhs(la1)/lhs(la2)=rhs(la1)/rhs(la2);

la4: solve([la3, cond],[K,L])[1];

float(ev(la1, la4));

load(draw)$


draw3d(color = blue,


             explicit(Q,K,0,70,L,0,20),
               


             contour        = both,


             surface_hide   = true) ;

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