There are three types of incomplete elliptic integrals in calculus. Matlab® provides special commands to calculate these elliptic integrals.
Table of Contents ;
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.
Leave a Reply