Azzera filtri
Azzera filtri

Help with Taylor series

1 visualizzazione (ultimi 30 giorni)
dav
dav il 13 Ott 2013
Modificato: Image Analyst il 14 Ott 2013
Hi,
Can someone please help me to get the Taylor series expansion of y=(a+bx)^1/2?
Thanks
dav
  3 Commenti
Image Analyst
Image Analyst il 13 Ott 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 il 13 Ott 2013
I want to get the taylor expansion of the above function simbolically.. Is it possible in matlab?

Accedi per commentare.

Risposta accettata

sixwwwwww
sixwwwwww il 13 Ott 2013
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 Commenti
dav
dav il 13 Ott 2013
Thank you so much for the kind help!
sixwwwwww
sixwwwwww il 13 Ott 2013
You are welcome

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by