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