请高手帮忙,用MATLAB解极限
楼主 · 1 楼
syms a b s h1 h2 c u
r;
p1=-b/2+sqrt((b/2)^2+(a*s)^2);
p2=-b/2-sqrt((b/2)^2+(a*s)^2);
g=1-(p1/p2)*exp(p2-p1)*h1-(c*p2)/(u*r*s)*(1+exp(-2*r*s*h2))/(1-exp(-2*r*s*h2))*(1+exp((p2-p1)*h1));
G=p2*(1-exp((p2-p1)*h1))/s*g;
limit(G,s,inf)
G是含a b s h1 h2 c u r的函数,对自变量S
取极限。运行的结果怎么会是这样?
ans =
limit((-1/2*b-1/2*(b^2+4*a^2*s^2)^(1/2))*(1-exp(-(b^2+4*a^2*s^2)^(1/2)*h1))/s*(1-(-1/2*b+1/2*(b^2+4*a^2*s^2)^(1/2))/(-1/2*b-1/2*(b^2+4*a^2*s^2)^(1/2))*exp(-(b^2+4*a^2*s^2)^(1/2))*h1-c*(-1/2*b-1/2*(b^2+4*a^2*s^2)^(1/2))/u/r/s*(1+exp(-2*r*s*h2))/(1-exp(-2*r*s*h2))*(1+exp(-(b^2+4*a^2*s^2)^(1/2)*h1))),s = Inf)
p1=-b/2+sqrt((b/2)^2+(a*s)^2);
p2=-b/2-sqrt((b/2)^2+(a*s)^2);
g=1-(p1/p2)*exp(p2-p1)*h1-(c*p2)/(u*r*s)*(1+exp(-2*r*s*h2))/(1-exp(-2*r*s*h2))*(1+exp((p2-p1)*h1));
G=p2*(1-exp((p2-p1)*h1))/s*g;
limit(G,s,inf)
G是含a b s h1 h2 c u r的函数,对自变量S
ans =
limit((-1/2*b-1/2*(b^2+4*a^2*s^2)^(1/2))*(1-exp(-(b^2+4*a^2*s^2)^(1/2)*h1))/s*(1-(-1/2*b+1/2*(b^2+4*a^2*s^2)^(1/2))/(-1/2*b-1/2*(b^2+4*a^2*s^2)^(1/2))*exp(-(b^2+4*a^2*s^2)^(1/2))*h1-c*(-1/2*b-1/2*(b^2+4*a^2*s^2)^(1/2))/u/r/s*(1+exp(-2*r*s*h2))/(1-exp(-2*r*s*h2))*(1+exp(-(b^2+4*a^2*s^2)^(1/2)*h1))),s = Inf)