主题: [问题] 关于Taylor展开问题~
查看单个帖子
旧 2010-11-03, 14:08   #2
zsy312
普通会员
 
注册日期: 2008-08-17
年龄: 43
帖子: 77
声望力: 18
zsy312 正向着好的方向发展
默认 回复: 关于Taylor展开问题~

例如展开到五阶:
In[23]:= Series[f[x-1]+f[x+1],{x,0,5}]
Out[23]= (f[-1]+f[1])+((f^\[Prime])[-1]+(f^\[Prime])[1]) x+1/2 ((f^\[Prime]\[Prime])[-1]+(f^\[Prime]\[Prime])[1]) x^2+1/6 ((f^(3))[-1]+(f^(3))[1]) x^3+1/24 ((f^(4))[-1]+(f^(4))[1]) x^4+1/120 ((f^(5))[-1]+(f^(5))[1]) x^5+O[x]^6
In[24]:= Normal[%]
Out[24]= f[-1]+f[1]+x ((f^\[Prime])[-1]+(f^\[Prime])[1])+1/2 x^2 ((f^\[Prime]\[Prime])[-1]+(f^\[Prime]\[Prime])[1])+1/6 x^3 ((f^(3))[-1]+(f^(3))[1])+1/24 x^4 ((f^(4))[-1]+(f^(4))[1])+1/120 x^5 ((f^(5))[-1]+(f^(5))[1])
zsy312 当前离线   回复时引用此帖