Exponential Function without exp() function

Background info:
The exponential function can be defined.
but i keep getting wrong values.

Réponses (1)

Roger Stafford
Roger Stafford le 11 Avr 2015
Modifié(e) : Roger Stafford le 11 Avr 2015

0 votes

You have done two things incorrectly here, Karen. First, your required loop was to be unbounded and yet you placed a bound of fifty on it. It should be the limit of 0.001 alone that brings the loop to a halt. Second, you did not accumulate the required sum. Each y you obtain is merely that of a single term of the series. There should be an summation of all these terms you have computed which is not the same as just these individual terms themselves.

Catégories

En savoir plus sur Particle & Nuclear Physics dans Centre d'aide et File Exchange

Produits

Question posée :

le 11 Avr 2015

Modifié(e) :

le 11 Avr 2015

Community Treasure Hunt

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

Start Hunting!

Translated by