Maclaurin series for ln(x) and ln(x+1)

Greetings,
I am trying to find maclaurin series for ln(x) and ln(1+x),
Can anyone help me how to do them on matlab?
Thanks,

 Accepted Answer

Maclaurin series is just a Taylor series expanded at x = 0. For ln(x) the series does not exist. For ln(1+x), try the following
syms x
y = log(x + 1);
y_series = taylor(y, x, 0, 'Order', 10)

More Answers (0)

Categories

Find more on Computational Geometry in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!