1
%sn Scilab Group Scilab Function %sn
3
%sn - Jacobi 's elliptic function
8
x : a point inside the fundamental rectangle defined by the elliptic
9
integral; x is a vector of complex numbers
11
m : parameter of the elliptic integral (0<m<1)
16
Jacobi 's sn elliptic function with parameter m: the inverse of the
17
elliptic integral for the parameter m.
19
The amplitude am is computed in fortran and the addition formulas for
20
elliptic functions are applied
27
plot(real_val,real(%sn(real_val,m)))
31
ima_val1=0:(Ip/50):KK-0.001;
32
ima_val2=(KK+0.05):(Ip/25):(Ip+KK);
33
z1=%sn(%i*ima_val1,m);z2=%sn(%i*ima_val2,m);
34
plot2d([ima_val1',ima_val2'],[imag(z1)',imag(z2)']);