| Author |
Comment/Response |
Bill Simpson
|
12/14/12 11:09am
f[n_]:= -(-1)^n*(2^n-n);
Sum[f[n],{n,0,5}]
I'm concerned whether your Sum should begin with n==0 or n==1 when I read the text of your description.
You can look at the individual terms with
Table[f[n],{n,0,5}]
to make certain that you have this correct before you use the Sum and wonder why the result might not be correct
URL: , |
|