Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

MATLAB Script Equation help

1 view (last 30 days)
matlab
matlab on 24 Jan 2023
Closed: Cris LaPierre on 24 Jan 2023
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

Community Treasure Hunt

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

Start Hunting!