I need MATLAB code to graphically represent this function from n=0 to 20 and compare it with 1/(1+x^2).
Note that as N becomes larger, the blue graph matches the red graph more closely on the interval of convergence -1 < x < 1, highlighted in yellow. However, outside of that interval, it does not.
HW: Find the convergence interval. Plot the sum of the series using n=0 to 5.