how to calculate taylor series expansion of sin(k*(x-x1)-4k^3*t) in matlab?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
zelda lambda
am 23 Sep. 2016
Beantwortet: Abhishek Jain
am 23 Sep. 2016
currently working on solitons.and did,nt know how to use matlab r mathematica.
0 Kommentare
Akzeptierte Antwort
Abhishek Jain
am 23 Sep. 2016
You can use in-built MATLAB function,
taylor(f,var)
to generate Taylor series. For your case, the code will look like
syms x
k=1; %%Add your own value pf 'k'
x1=1; %%Add your own value of 'x1'
t=1; %%Add your own value of 't'
f=sin(k*(x-x1)-4*(k^3)*t);
taylor(f,x)
This code will give you Taylor's Series for your function. Hope that helps.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!