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

Calculation Of 3 Types Of Incomplete Elliptic Integrals In MatLab®

There are three types of incomplete elliptic integrals in calculus. Matlab® provides special commands to calculate these elliptic integrals.

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

Here we explain how to calculate three types of incomplete elliptic integrals with the corresponding commands in Matlab®. 

All the programming examples below are executed in the Matlab® command window. So you can try these examples in your own Matlab® product. 

How To Calculate Incomplete Elliptic Integrals In MatLab®?

There are three separate codes are avaliable to calculate the incomplete elliptic integrals in Matlab®; 

  • The first type: ‘ellipticF()’ command, 
  • The second type: ‘elliptice()’ command, 
  • The third type: ‘ellipticPi()’ command. 

Calculation Of The First Type Of Incomplete Elliptic Integrals In Matlab®

>> ellipticF(10,5)

ans =

   5.1954 - 6.3865i

>> 

As you see in the example above, you need to enter two numbers inside the ‘ellipticF()’ command in Matlab®. Hit the ‘Enter’ key to see the result in the command window. 

Calculation Of The Second Type Of Incomplete Elliptic Integrals In Matlab®

>> ellipticE(10,5)

ans =

   2.5253 + 9.8052i

>> 

The use of the ‘ellipticE()’ command is completely the same with the command above. The second type of incomplete elliptic integrals can be calculated like this. 

Calculation Of The Third Type Of Incomplete Elliptic Integrals In Matlab®

>> ellipticPi(10, 5, 2)

ans =

  -0.2316 - 1.0435i

>> 

The difference of this command is that you need to enter three numbers inside the brackets. Execute the code to see the result of the third type of incomplete elliptic integral in the Matlab® command window. 

Conclusion

As you see above, the calculation of three types of incomplete elliptic integrals is very simple in the Matlab® command window.

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

If you want further coding examples about the calculation of three types of incomplete 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!