How to calculate elliptic integrals in MATHCAD?

2 replies · 8K views · last reply
sgsawant
Messages
30
Reaction score
0
Hi,

I wanted to calculate elliptic integrals (K & E) for a given function in Mathcad. I was not able to find the appropriate function. I am using Mathcad 15.

Regards,

-sgsawant
 
Hi. I just joined, so tag me with n00b.

Full disclosure: I work at PTC, and have contacted one of our programmers to help me with a response here.

Although Mathcad does not have a dedicated function for this, it should be (generally) straight forward to calculate them (or define them as user functions) using the general integration function in Mathcad. One can view the elliptic integration help section in MATLAB to get some general formulae (see attached image).

I hope this helps. For more specific Mathcad-related help (not just on physics, but all areas Mathcad), head over to http://bit.ly/Mathcad-PlanetPTC for a user-driven community.
 
Attachments
  • Two definitions of complete elliptic integrals: K(m) equals the integral from 0 to 1 of 1 over the square root of (1 - t^2)(1 - m t^2) dt, and E(m) equals the integral from 0 to 1 of the square root of (1 - t^2) over the square root of (1 - m t^2) dt, where m is the first argument of ellipke.
    elliptical_integration.png
    2.8 KB · Views: 1,149
Last edited: