with(plots):
f:=sin((2*N+1)*Pi*t)/sin(Pi*t);
animate(f,t=0..4,N=0..10,numpoints=400,frames=11,color=magenta);