作业帮 > 综合 > 作业

matlab syms r p w z x;a=10,b=100,c=0.2,m=6,v=4;F=x/10 profr=

来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/11 08:17:16
matlab
syms r p w z x;
a=10,b=100,c=0.2,m=6,v=4;
F=x/10
profr=(r*p-w)*(z+a-b*p)/(1-c)-(r*p-v)*int(F,x,0,z);
dprz=diff(profr,'z');
dprp=diff(profr,'p');
[zstar,pstar]=solve(dprz,dprp,'z','p')
profs=(w-m)*(zstar+a-b*pstar)/(1-c)+(1-r)*p*((zstar+a-b*pstar)/(1-c)-int(F,x,0,z));
dpsw=diff(profs,'w')
wtemp=solve(dpsw,'w')
profstmep=(wtemp-m)*(zstar+a-b*pstar)/(1-c)+(1-r)*p*((zstar+a-b*pstar)/(1-c)-int(F,x,0,z))
dpsr=diff(profs,'r')
rstar=solve(dpsr,'r')
wstar=subs(wtemp,'r',rstar)
para={[z],[p],[w],[r]};
parastar={[zstar],[pstar],[wstar],[rstar]};
profrstar=simple(subs(profr,para,parastar))
para={[w],[r]};
parastar={[wstar],[rsatr]};
profsstar=simple(subs(profr,para,parastar))
运行结果
Error using ==> solve
Error,(in solve) invalid arguments
Error in ==> sym.solve at 49
[varargout{1:max(1,nargout)}] = solve(S{:});
matlab syms r p w z x;a=10,b=100,c=0.2,m=6,v=4;F=x/10 profr=
wtemp=solve(dpsw,'w')
你的这个语句是解不出来的,因为你的方程太复杂了!