Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

MATLAB Script Equation help

1 vue (au cours des 30 derniers jours)
matlab
matlab le 24 Jan 2023
Clôturé : Cris LaPierre le 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.

Réponses (0)

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by