[d/dy sin(ny)*sin((n+1)y)/sin(y)] sin^2 y