[erlang-questions] How to calculate series expansion e^x

Harit Himanshu harit.subscriptions@REDACTED
Tue Feb 24 23:00:28 CET 2015

I am trying to learn Functional Programming and Erlang by practicing
problems available online.

One question where I don't know about solving it is

The series expansion of ex is given by:

1 + x + x2/2! + x3/3! + x4/4! + .......

Evaluate e^x for given values of x, by using the above expansion for the
first 10 terms.

The problem statement could be found here

Can someone guide me how this could be achieved in Erlang?

Thanks a lot
+ Harit Himanshu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150224/dc4b8f85/attachment.htm>

More information about the erlang-questions mailing list