Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2010-09-06
年龄: 40
帖子: 1
声望力: 0 ![]() |
![]()
f(x+1)+f(x-1)在x处taylor展开 在Mathematica中怎么写?
就是直接给出表达式。 刚接触,问题可能比较幼稚,不过还请大师们说清楚点~~谢谢 |
![]() |
![]() |
![]() |
#2 |
普通会员
注册日期: 2008-08-17
年龄: 43
帖子: 77
声望力: 18 ![]() |
![]()
例如展开到五阶:
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]) |
![]() |
![]() |