Try this:
http://www.numberempire.com/seriescalculator.php[
^]
Entering the limits 1 to 19 and the formula
n*(n+1)
gives you
2660
Entering the limits 1 to 10 and the formula
1/n!
gives you
6235301/3628800
(ok, you can calculate that fraction with a pocket calculator if you're more comfortable with that, or just take the value OriginalGriff already posted)
Now write a function for each formula that arrives at the same results, given the same inputs. To do that, these functions will need to implement the calculation of the individual terms (e. g.
n*(n+1)
), and then sum them up to a total.
Give it a try, it's not so hard.