Re: My Homework: how to calculate natural log, e?




bernard.vukas@xxxxxxxxxxxxxx wrote:
> I might go solving the problem by asking around, in the C++ group??
> ..........
> Come on guys, this is really simple and I need it by Monday. Can
> someone solve it?
>
> If I knew how, I would have constructed a loop, inside which the
> formula would be evaluated. But I need the code to work.

Hint #3: One traditional way to solve these types of problems is to
derive the next term to be added from the last calculated term. Given
n!, what is (n+1)! ??????

[If the OP can't get it from these hints, I'm going to retire to Sussex
and keep bees.]

-- elliot

.



Relevant Pages