编写代码:已知函数
,求
的值,并给出计算结果。[文件题]
参考答案
程序:
clear all;
syms x y z;
fun=@(x,y,z)x*exp(x*y*z)+(x+y)*atan(log(1+x^2*y*z));
t1=diff(fun,x);
t2=diff(t1,y);
t3=diff(t2,z);
t4=subs(t3,x,1);
t5=subs(t4,y,0);
t6=subs(t5,z,1);
vpa(t6)
结果:
ans =
5.0