Skip to main content
2 of 2
Made English more idiomatic
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

Plotting a Taylor Series of two-variable trigonometric function

I am pretty sure I have made an obvious mistake. I want to plot a Taylor polynomial of a degree 4 around the point (0, 0). So I have defined a function

f[x_, y_] := Cos[x + y]

Then I write a Taylor series up to 4th degree

Series[f[x, y], {x, 0, 4}, {y, 0, 4}]

I can plot the function f, but when I try to plot series I get errors. I believe it is because. when computing the series, along from the terms I will also get a remainder, which can not be plotted.

Any help would be much appreciated.