# %asn

elliptic integral. This function is obsolete.

## 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`.

This function is obsolete.

It is better to use delip instead of function `%asn`.

## 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!

warning("off") 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) warning("on")

## See Also

- delip

## History

5.5.0
Function tagged as obsolete. Will be removed in 5.5.1. Please use delip instead.