Learn R Programming

RConics (version 1.1.2)

pEllipticInt: Partial elliptic integral

Description

Partial elliptic integral

Usage

pEllipticInt(x, saxes, n = 5)

Value

Return the partial elliptic integral.

Arguments

x

the \(x\)-coordinate.

saxes

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

n

the number of iterations.

See Also

arcLengthEllipse

Examples

Run this code
# 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