Elliptic integrals can be used to evaluate integrals whose integrands have the form
, where
is a rational function in x and y and
is a polynomial of degree 4 or less. They appear in calculations of arclength (as in Cody Problem 45979) and analysis of the motion of a pendulum.
MATLAB provides a function to compute the complete elliptic integrals of the first and second kinds but not the incomplete elliptic integrals of the first, second, and third kinds.
Write a function to evaluate the three incomplete elliptic integrals. Follow MATLAB's convention of using the parameter m, which is related to the modulus k through
.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
Remove any row in which a NaN appears
8774 Solvers
-
7467 Solvers
-
Project Euler: Problem 10, Sum of Primes
2095 Solvers
-
Longest run of consecutive numbers
6506 Solvers
-
Split bread like the Pharaohs - Egyptian fractions and greedy algorithm
96 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!