f(x+1)+f(x-1)在x处taylor展开 在Mathematica中怎么写?
就是直接给出表达式。
刚接触,问题可能比较幼稚,不过还请大师们说清楚点~~谢谢
例如展开到五阶:
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])
vBulletin® v3.8.3,版权所有 ©2000-2025,Jelsoft Enterprises Ltd.