How do I write exponential function in form of infinite series?

2 views (last 30 days)

Answers (1)

Walter Roberson
Walter Roberson on 24 Feb 2022
syms x k N
exp_x = symsum(x^k/factorial(k), k, 0, N)
exp_x = 
limit(exp_x, N, inf)
ans = 

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!