Exponential Function without exp() function
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Background info:
The exponential function can be defined.
but i keep getting wrong values.
0 Kommentare
Antworten (1)
Roger Stafford
am 11 Apr. 2015
Bearbeitet: Roger Stafford
am 11 Apr. 2015
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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Particle & Nuclear Physics finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!