% Program to compute several terms of the Taylor series % of arctan(x) and graph the polynomials that results % in separate graphs. x=-1.5:.01:1.5; Tseries=0; for k=1:3 Tseries= Tseries+(-1)^(k+1)*x.^(2*k-1)/(2*k-1); figure; plot(x,Tseries); end