Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Scilab 5.4.1
Change language to: English - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide Scilab >> Fonctions spéciales > %asn

# %asn

elliptic integral

### Calling Sequence

`[y]=%asn(x,m)`

### Arguments

x

upper limit of integral (`x>0`) (can be a vector)

m

parameter of integral (`0<m<1`)

y

value of the integral

### Description

Calculates the elliptic integral

If `x` is a vector, `y` is a vector of same dimension as `x`.

### Examples

```m=0.8;
z=%asn(1/sqrt(m),m);
K=real(z);
Ktilde=imag(z);
x2max=1/sqrt(m);
x1=0:0.05:1;
x2=1:((x2max-1)/20):x2max;
x3=x2max:0.05:10;
x=[x1,x2,x3];
y=%asn(x,m);
rect=[0,-Ktilde,1.1*K,2*Ktilde];
plot2d(real(y)',imag(y)',1,'011',' ',rect)

deff('y=f(t)','y=1/sqrt((1-t^2)*(1-m*t^2))');
intg(0,0.9,f)-%asn(0.9,m)  //Works for real case only!```