Numerical modelling of double integration with different data spacing: A Python-based approach

Document Type : Original Article

Authors

Jaypee University of Engineering and Technology, Guna, Madhya Pradesh, India

Abstract

In this article, an attempt has been made to model the process of double integration for different data spacing. The trapezoidal rule has been used to perform integration, whereas Newton's divided difference handles the inconsistent data points. The whole process of numerical integration has been automated in Python programming language. The developed code is tested against two example problems, and the results obtained agree with the one shown in the literature.

Keywords

Main Subjects


[1] A.F. Abdulhameed, Q.A. Memon, An improved Trapezoidal rule for numerical integration, Journal of Physics: Conference Series, 2090(1) 2021, 12104.
[2] G. Beer, B. Marussig, C. Duenser, Numerical integration, Lecture Notes in Applied and Computational Mechanics, 2020, 129-149.
[3] P. Dumka, R. Chauhan, A. Singh, G. Singh, D. Mishra, Implementation of Buckingham’s Pi theorem using Python, Advances in Engineering Software, 173 2022, 103232.
[4] P. Dumka, R. Dumka, D.R. Mishra, Numerical Methods Using Python, Blue Rose, 2022.
[5] P. Dumka, P.S. Pawar, A. Sauda, G.Shukla, D.R. Mishra, Application of He’s homotopy and perturbation method to solve heat transfer equations: A python approach, Advances in Engineering Software, 170 2022, 103160.
[6] P. Dumka, K. Rana, S. Pratap, S. Tomar, P.S. Pawar, D.R. Mishra, Modelling air standard thermodynamic cycles using python, Advances in Engineering Software, 172 2022, 103186.
[7] J.F. Epperson, An introduction to numerical methods and analysis, In An Introduction to Numerical Methods and Analysis, John Wiley & Sons, 2021.
[8] J.D. Faires, R.L. Burden, Numerical methods, Thomson, 2003.
[9] B. Fornberg, Improving the accuracy of the trapezoidal rule, SIAM Review, 63(1) 2021, 167-180.
[10] K. Gajula, V. Sharma, B. Sharma, D.R. Mishra, P. Dumka, Modelling of Energy in Transit Using Python. International Journal of Innovative Science and Research Technology, 7(8) 2022, 1152-1156.
[11] K.R. Srinath, Python-the fastest growing programming language, International Research Journal of Engineering and Technology 4(12) 2017, 354-357.
[12] A. Marowka, On parallel software engineering education using python, Education and Information Technologies, 23(1) 2018, 357-372.
[13] M. Omidpanah, S.A.A. Mirjalily, H. Kargarsharifabad, S. Shoeibi, Numerical simulation of combined transient natural convection and volumetric radiation inside hollow bricks, Journal of Heat and Mass Transfer Research, 8(2) 2021, 151-162.
[14] P.S. Pawar, D. R.Mishra, P.Dumka, Solving First Order Ordinary Differential Equations using Least Square Method: A comparative study. International Journal of Innovative Science and Research Technology, 7(3) 2022, 857-864.
[15] P.S. Pawar, D. R.Mishra, P.Dumka, M. Pradesh, Obtaining exact solutions of visco-incompressible parallel flows using python, International Journal of Engineering Applied Sciences and Technology, 6(11) 2022, 213-217.
[16] J. Ranjani, A. Sheela, K. Pandi Meena, Combination of NumPy, SciPy and Matplotlib/Pylab-A good alternative methodology to MATLAB-A Comparative analysis, Proceedings of 1st International Conference on Innovations in Information and Communication Technology, ICIICT 2019, 1-5.
[17] A. Saha, Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! No Starch Press, 2015.
[18] S. Shoeibi, N. Rahbar, A.A. Esfahlani, H. Kargarsharifabad, Energy matrices, exergoeconomic and enviroeconomic analysis of air-cooled and water-cooled solar still: Experimental investigation and numerical simulation, Renewable Energy, 171 2021, 227-244.
[19] V. Sulzer, S.G. Marquis, R. Timms, M. Robinson, S.J. Chapman, Python Battery Mathematical Modelling (PyBaMM), Journal of Open Research Software, 9(1) 2021, 1-8.
[20] S. Van Der Walt, S.C. Colbert, G. Varoquaux, The NumPy array: A structure for efficient numerical computation. Computing in Science and Engineering, 13(2) 2011, 22-30.
[21] J. Weisman, A.G. Holzman, Engineering Design Optimization under Risk, In Management Science, 19(3) 1972, 235-249.