Home » All Programs » Calculation Of 3 Types Of Complete Elliptic Integrals In MatLab®

Calculation Of 3 Types Of Complete Elliptic Integrals In MatLab®

In calculus, there are three types of complete elliptic integrals. Matlab® provides different commands for these three types of elliptic integrals.

YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!

Here, we explain these three types of elliptic integral calculations in Matlab® with different commands. All the codes below are executed in the Matlab® command window that you can try them in your own Matlab® software. 

How To Calculate Complete Elliptic Integrals In MatLab®?

There are three types of commands to calculate complete elliptic integrals; 

  • The first type: ‘ellipticK()’,
  • The second type: ‘ellipticE()’, 
  • The third type: ‘ellipticPi()’. 

Calculation Of The First Type Of Complete Elliptic Integral In MatLab®

>> ellipticK(10)

ans =

   0.5099 - 0.8153i

As you see in the example above, the calculation of the first type complete elliptic integral is very easy. You just need to type the required number inside the brackets to see the result. 

Calculation Of The Second Type Of Complete Elliptic Integral In MatLab®

>> ellipticE(10)

ans =

   0.2516 + 2.6783i

>> 

The use of this command is the same as the previous one. Hit the ‘Enter’ key to see the answer to the second type of complete elliptic integral. 

Calculation Of The Third Type Of Complete Elliptic Integral In MatLab®

>> ellipticPi(10,5)

ans =

  -0.0413 - 0.3272i

>> 

In this command, you need to write two elements inside the brackets. You can see the result in the Matlab® command window if you execute the code. 

Conclusion

As you see above, the calculation of the three types of complete elliptic integrals is very simple with the corresponding commands in Matlab®. 

Do not forget to leave your comments and questions below about the calculation of the three types of complete elliptic integrals in Matlab® below. 

If you want further coding examples about the calculation of the three types of complete elliptic integrals in Matlab®, inform us in the comments.

This article is prepared for completely educative and informative purposes. Images used courtesy of Matlab®

Your precious feedbacks are very important to us.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


Please

leave feedback ?

( For the post )

ASK THE MECHANICALLAND

COMMUNITY


We are always open to your feedback to improve ourselves and the quality of our content! If you have any suggestions, thoughts, or criticism, please let us know. We are trying to improve our blog with constructive feedback. We are aware of how valuable your feedback is for our future development, and we will carefully read all your comments. Thank you in advance!