Info

此问题已关闭。 请重新打开它进行编辑或回答。

MATLAB Script Equation help

1 次查看(过去 30 天)
matlab
matlab 2023-1-24
关闭: Cris LaPierre 2023-1-24
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.

回答(0 个)

此问题已关闭。

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by