Help with Taylor series

1 次查看(过去 30 天)
dav
dav 2013-10-13
Hi,
Can someone please help me to get the Taylor series expansion of y=(a+bx)^1/2?
Thanks
dav
  3 个评论
Image Analyst
Image Analyst 2013-10-13
This doesn't seem to be a MATLAB question. Can it be? Like, do you want to plot the actual function and then try different numbers of terms and see how well they look like the original function?
dav
dav 2013-10-13
I want to get the taylor expansion of the above function simbolically.. Is it possible in matlab?

请先登录,再进行评论。

采纳的回答

sixwwwwww
sixwwwwww 2013-10-13
Dear Dav, here is the code to do it up to fifth order:
syms a b x y
y = (a + b * x)^(1/2);
TaylorSeries = taylor(y);
disp(TaylorSeries)
  4 个评论
dav
dav 2013-10-13
Thank you so much for the kind help!
sixwwwwww
sixwwwwww 2013-10-13
You are welcome

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Particle Swarm 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by