Skip to content

ellipticE

specfun · scripts/specfun/ellipticE.m

: y = ellipticE (m)
: y = ellipticE (phi, m)

Complete and incomplete elliptic integrals of the second kind.

ellipticE (m) returns the complete integral

E(m) = E(pi/2 | m) = integral from 0 to pi/2 of sqrt(1 - m*sin(theta)^2) dtheta

ellipticE (phi, m) returns the incomplete integral

E(phi | m) = integral from 0 to phi of sqrt(1 - m*sin(theta)^2) dtheta

ellipticE (pi/2, m) equals ellipticE (m). One of phi, m may be a scalar; otherwise they must share a size.