b[k_]:=(4/((2*k+1)*Pi))
f[x_,n_]:=(∑_(k=0)^n)b[k]*Sin[2*k*x+x]
Plot[f[x,60],{x,-3*Pi,3*Pi}]