6 votes
Accepted

Why does Mathematica get the infinite sum of this representation of the taylor series of $\cos^2(x)$ wrong?

Expanding on the comment by @Goofy and after reading the docs we see that: "ParallelFirstToSucceed" try each method in parallel until one succeeds ...
bmf's user avatar
  • 12.8k
5 votes
Accepted

First argument -h is not a valid variable

h is a local to Series, you cannot use it as a functionargument. Try ...
Ulrich Neumann's user avatar
5 votes

Find Generalized Series with Symbolic Variable

With SeriesCoefficient, the order and expansion point can be symbolic. ...
Bob Hanlon's user avatar
  • 151k
4 votes

Find Generalized Series with Symbolic Variable

If I understand correctly what you want the following is your friend ...
bmf's user avatar
  • 12.8k
2 votes

Why does Mathematica get the infinite sum of this representation of the taylor series of $\cos^2(x)$ wrong?

Vs 6 gets the correct result, but Wolfram $\alpha$ decides, too, that $$\sum_{m,n=0}^\infty \frac{ (-1)^{n+m} x^{2m+2n} }{(2n)!(2m)!} \quad \ne \quad \sum_{m=0}^\infty\left(\sum_{n=0}^\infty \frac{ ...
Roland F's user avatar
  • 2,802
2 votes

First argument -h is not a valid variable

Or s[h_, n_ : 4] := Normal[f[t] + O[t, x]^(n + 1)] /. t -> x + h s[h] + s[-h]
cvgmt's user avatar
  • 63.3k
1 vote
Accepted

Find Generalized Series with Symbolic Variable

I'm assuming you want the "formula" for what CoefficientList[Series[f[x], {x, a, n}], x] gives. If you want the term associated with $x^j$, that is the ...
JimB's user avatar
  • 40.3k

Only top scored, non community-wiki answers of a minimum length are eligible