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 Solvers17
Suggested Problems
-
Sum of first n terms of a harmonic progression
521 Solvers
-
How long is the longest prime diagonal?
413 Solvers
-
349 Solvers
-
Mysterious digits operation (easy)
329 Solvers
-
I'm going to enjoy watching you calculate, Mr Anderson
49 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!