MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   Mathematica论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=34)
-   -   [问题] 关于Taylor展开问题~ (https://www.labfans.com/bbs/showthread.php?t=12055)

kevinho 2010-09-06 17:11

关于Taylor展开问题~
 
f(x+1)+f(x-1)在x处taylor展开 在Mathematica中怎么写?

就是直接给出表达式。
刚接触,问题可能比较幼稚,不过还请大师们说清楚点~~谢谢

zsy312 2010-11-03 14:08

回复: 关于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])


所有时间均为北京时间。现在的时间是 15:02

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.