chap11
代码说明:
syms x g=exp(x*sin(x)) t=taylor(g,12,2) xd = 1:0.05:3 yd = subs(g,x,xd) ezplot(t, [1,3]) hold on plot(xd, yd, r-. ) title( Taylor approximation vs. actual function ) legend( Taylor , Function )(syms x g = exp (x* sin (x)) t = taylor (g, 12,2) xd = 1:0.05:3 yd = subs (g, x, xd) ezplot (t, [1 , 3]) hold on plot (xd, yd, ' r-.' ) title (' Taylor approximation vs. actual function' ) legend (' Taylor' , ' Function' ))
下载说明:请别用迅雷下载,失败请重下,重下不扣分!