You need to tell subs which variable is to be substituted for. subs(taylor, x, valueForX)
Also you are discarding the result of the substitution and displaying the original expression. subs() does not change the expression being substituted into.
Thirdly, you should be totaling the terms you calculate.
so you are telling it to give up the knowledge that n is symbolic and to replace it with a numeric n. Then your symsum() fails because you are trying to sum with respect to the number stored in n, instead of with respect to symbolic n.
Best Answer