Learn R Programming

RConics (version 1.0)

pEllipticInt: Partial elliptic integral

Description

Partial elliptic integral

Usage

pEllipticInt(x, saxes, n = 5)

Arguments

x

the \(x\)-coordinate.

saxes

a \((2 \times 1)\) vector of the length of the ellipse semi-axes.

n

the number of iterations.

Value

Return the partial elliptic integral.

References

Van de Vel, H. (1969). On the series expansion method for Computing incomplete elliptic integrals of the first and second kinds, Math. Comp. 23, 61-69.

See Also

arcLengthEllipse

Examples

Run this code
# NOT RUN {
# Ellipse with semi-axes: a = 5, b= 2
saxes <- c(5,2)

# 1 iteration
pEllipticInt(3,saxes,n=1)
# 5 iterations
pEllipticInt(3,saxes,n=5)
# 10 iterations
pEllipticInt(3,saxes,n=10)
# }

Run the code above in your browser using DataLab