I want to find the sum $$S=f\left(\dfrac{1}{2012} \right) +f\left(\dfrac{2}{2012} \right) +\cdots + f\left(\dfrac{2011}{2012} \right), $$ where $$f(x) = \dfrac{4^x}{4^x + 2}.$$ I tried
f[x_] := 4^x/(4^x + 2)
Sum[f[i/2012], {i, 1, 2011}]
But I can't get the answer. How do I tell Mathematica to do that?
I know, $$f(x) + f(1 - x) =1.$$
I used
Simplify[f[x] + f[1 - x]]

f[x_] := N[4^x/(4^x + 2)]; Sum[f[i/2012], {i, 2011}]which gives1005.5. UsedNto speed it. Or like this, same answer !Mathematica graphics i.e.f[x_] := 4^x/(4^x + 2); sum = Sum[f[i/2012], {i, 2011}]; N[sum]– Nasser Dec 20 '12 at 15:29NSum[f[i/2012], {i, 1, 2011}]– PlatoManiac Dec 20 '12 at 15:32