编写代码:计算二重极限值
,并给出计算结果。[文件题]
参考答案
程序:
clear all;
syms x y;
fun=@(x,y)(log(x^2+y^2)-1)/((x-1)^2+y^2)*exp(-x-y);
t1=limit(fun,x,1);
t2=limit(t1,y,1);
vpa(t2)
结果:
ans =
-0.04152801323087297470847104490202
编写代码:计算二重极限值
,并给出计算结果。[文件题]
参考答案
程序:
clear all;
syms x y;
fun=@(x,y)(log(x^2+y^2)-1)/((x-1)^2+y^2)*exp(-x-y);
t1=limit(fun,x,1);
t2=limit(t1,y,1);
vpa(t2)
结果:
ans =
-0.04152801323087297470847104490202