w(s,t)=sn2(K+t,k)-sn2(s,k).