Good morning/evening,
In exercise 3.7 if I use the following code (in version 12.0) I generate the error General::ivar: -12.5659 is not a valid variable:
Manipulate[
Plot[{Sin[x], Normal[Series[Sin[x], {x, 0, n}]]}, {x, -4 \[Pi],
4 \[Pi]}, PlotRange -> {-10, 10}], {n, 1, 23, 2}]
In order to fix it I have to force the evaluation of the series expansions as:
Manipulate[
Plot[{Sin[x],
Normal[Series[Sin[x], {x, 0, n}]] // Evaluate}, {x, -4 \[Pi],
4 \[Pi]}, PlotRange -> {-10, 10}], {n, 1, 23, 2}]
Does anyobody experience the same? Most importantly, does anybody know why the first code snippet is not a valid Wolfram statement?
Thanks