The question I have is:
Consider the Maclaurin expansion: x/(1-x) = x + x^2 + x^3 + …
Write a MATLAB function func(x,N) that returns the Maclaurin expansion using the first N terms. Use the function to plot, func(x,2), func(x,4) and func(x,8) on the same axes, for -0.5<x<0.5.
Best Answer