taylor & Maclourin series for a symbolic function IN M-file?

May 2010
2
0
london
hey guys
can anyone help me with this problem ?
i want to compute a both taylor & maclourin series (10 terms for each one) for a symbolic function that it get from input.
Thank you
 

CaptainBlack

MHF Hall of Fame
Nov 2005
14,972
5,271
someplace
hey guys
can anyone help me with this problem ?
i want to compute a both taylor & maclourin series (10 terms for each one) for a symbolic function that it get from input.
Thank you
>help taylor

>help taylortool

and here

CB
 
  • Like
Reactions: ashkmehr
May 2010
2
0
london
Thanks for Ur Reply.
i already read these, but i`m a beginner MATLAB user & don`t know how can it be solved.
Plz help me with this.
thanks again
 

CaptainBlack

MHF Hall of Fame
Nov 2005
14,972
5,271
someplace
Thanks for Ur Reply.
i already read these, but i`m a beginner MATLAB user & don`t know how can it be solved.
Plz help me with this.
thanks again
I can't test this here but create a script .m file:

Code:
a=0;  % point about which to do expansion a=0 give McLaurin
syms x
ff=input('function definition (with x as the variable):','s');
tt=taylor(ff,10,x,a)
CB
 
Last edited: