Hi,
Can someone please help me to get the Taylor series expansion of y=(a+bx)^1/2?
Thanks
dav

3 Kommentare

Jan
Jan am 13 Okt. 2013
What have you tried so far? What kind of help do you want? An explanation of how Taylor series are defined, a way to produce the first n terms symbolically or a formula for the first n terms?
Image Analyst
Image Analyst am 13 Okt. 2013
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 am 13 Okt. 2013
I want to get the taylor expansion of the above function simbolically.. Is it possible in matlab?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

sixwwwwww
sixwwwwww am 13 Okt. 2013

1 Stimme

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 Kommentare

dav
dav am 13 Okt. 2013
thank you very much!
Is there a way to generate this so that it contains the order term as well.
dav
sixwwwwww
sixwwwwww am 13 Okt. 2013
You are welcome. Yes you can specify the order using following modification:
TaylorSeries = taylor(y, x, 'Order', 10);
dav
dav am 13 Okt. 2013
Thank you so much for the kind help!
sixwwwwww
sixwwwwww am 13 Okt. 2013
You are welcome

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange

Gefragt:

dav
am 13 Okt. 2013

Bearbeitet:

am 14 Okt. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by