Why is the array produced by the following not displayed in TableForm
?
NumberForm[Table[Sum[(-1)^n 1/n!, {n, 0, i}], {i, 10}] // N, 12] // TableForm
{0., 0.5, 0.333333333333, 0.375, 0.366666666667, 0.368055555556, 0.367857142857, 0.367881944444, 0.367879188713, 0.367879464286}
What can I do to solve this issue?
TableForm
works onList
s; you want to use it on something with a headNumberForm
. TryNumberForm[TableForm@Table[Sum[(-1)^n 1/n!, {n, 0, i}], {i, 10}] // N, 12]
. $\endgroup$