http://qs321.pair.com?node_id=652411


in reply to Re^3: Exponential Function Programming
in thread Exponential Function Programming

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: Exponential Function Programming
by swampyankee (Parson) on Nov 23, 2007 at 04:40 UTC

    You do know what "factorial" means, correct? It's really easy to write a routine to calculate factorials. Just remember that 0! is defined as 1. In any case, n! is only defined for non-negative integers (the closely related gamma function is defined for all real numbers). For sufficiently large values of n, n! is approximated by Stirling's approximation.


    emc

    Information about American English usage here and here.

    Any Northeastern US area jobs? I'm currently unemployed.

Re^5: Exponential Function Programming
by okram (Monk) on Nov 22, 2007 at 16:58 UTC

    Oi
    The factorial is up there, along with the solution.

    it's not well detailed, but since I start thinking that this is an homework... I can only suggest you try to understand it, and grok it yourself.