MATLAB Script Equation help

where n! is the factorial of n. The greater the n value, the "better" the approximation. Using a for( ) loop with the series equation above, and the function factorial( ), how would I write a program to determine e^1.78, assuming n = 3 and display the result.
Include the exact result using the exp( ) function in MATLAB and display it. When running your program, only these two results should be displayed.

Answers (0)

This question is closed.

Products

Release

R2022a

Asked:

on 24 Jan 2023

Closed:

on 24 Jan 2023

Community Treasure Hunt

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

Start Hunting!