Comparative Study of Secant Method and Newton-Raphson Method in Finding the Molar Volume Value of Gas Using Python

Tatik Juwariyah, Damora Rhakasywi, Syifaul Janan, Asih Melati

Abstract


Determining the molar volume of a real gas requires solving the nonlinear Van der Waals equation. This study aims to compare the efficiency and accuracy of the Newton-Raphson method and the Secant method in solving the Van der Waals equation using the Python programming language. The case study examines the determination of the molar volume of methane gas at a pressure of 56 atm and a temperature of 450 K. The comparison parameters used are the number of iterations and the speed of convergence with an error tolerance of 10⁻⁷. The results show that the Newton-Raphson method requires fewer iterations, namely 4, with a computational time of 0.00012 s. In contrast, the Secant method requires more iterations, namely 6, and a computational time of 0.00015 s. The Newton-Raphson method is less practical because it necessitates the calculation of the derivative of the function, whereas the Secant method is more practical for application in Python scripts as it only requires the calculation of the Van ders Waals equation function.


Keywords


Science; Applied Numerical Methods

Full Text:

PDF

References


Azure, I. A. (2019). Comparative Study of Numerical Methods for Solving Non-linear Equations Using Manual Computation. Mathematics Letters, 5(4), 41-51. Retrieved from https://doi.org/10.11648/j.ml.20190504.11

Chapra, S. C. (2021). Numerical Methods for Engineers (8th ed.). McGraw-Hill Education.

Khoiriyah, I. (2021). Modifikasi Metode Newton-Secant Dalam Penyelesaian Persamaan Non-linier Yang Memiliki Multiplisitas. Malang: Fakultas Sains dan TEknologi. UIN Maulana Malik Ibrahim.

Kiusalaas, J. (2015). Numerical Methods in Engineering with Python 3. Cambridge University Press.

Kongprawechnon, W. &. (2018). Comparison of Numerical Methods for Solving Nonlinear Equations in Chemical Engineering. Journal of Applied Science and Engineering.

M., M. (2023). Modifikasi Garis Singgung Untuk Mempercepat Iterasi Pada Metode Newton Raphson. Euler : Jurnal Ilmiah Matematika, Sains dan Teknologi, 11(2), 351–360.

Moheuddin, M. M. (2019). A New Study To Find Out The Best Computational Method For Solving. Applied Mathematics and Sciences An International Journal (MathSJ), 6(3), 15–31. doi:10.5121/mathsj.2019.6302

Nwry, A. W. (2021). Comparison Between Bisection, Newton and Secant Methods for determining the root of the Non-Linear equation using MATLAB. Turkish Journal of Computer and Mathematics Education(12), 1115–1122.

Osniman Paulina Maure, H. T. (2024). Studi Komparasi Beberapa Metode Numerik Dalam Mengaproksimasi Akar-Akar Persamaan Non-Linier. ASIMTOT, 6(2), 1-12.

Putawa, R. A. (2023). Metode Numerik dalam Perspektif Pragmatisme Dan Relevansinya dengan Bidang Keteknikan. Jurnal Filsafat Indonesia, 6(1), 60–65.

Rika Nadila, K. K. (2022). Deskripsi Creative Thinking pada Materi Segitiga dan Segi Empat ditinjau dari Stres Akademik Siswa. VENN: Journal of Sustainable Innovation on Education, Mathematics and Natural Sciences.

Sechenov P.A., R. I. (2022). Numerical method and mathematical model for finding the equilibrium composition of the thermodynamic system of the T-Energy software package. Herald of Dagestan State Technical University. Technical Sciences, 49(4), 104-112.

Smith, J. M. (2017). Introduction to Chemical Engineering Thermodynamics. McGraw-Hill Education.

Sunandar, E. &. (2020). Perbandingan Metode Newton-Raphson & Metode Secant Untuk Mencari Akar Persamaan Dalam Sistem Persamaan Non-Linier. Petir : Jurnal Pengkajian Dan Penerapan Teknik Informatika, 13(1), 72-79. Retrieved from https://doi.org/10.33322/petir.v13i1.893

Sutrisno, T. (2023). Aplikasi Penyelesaian Numerik Pencarian Akar Persamaan Non-Linier Dan Penerapannya Dalam Menyelesaikan Analisis Break Even Point. Computatio: Journal of Computer Science and Information Systems, 7(1), 37–49.

Wajib Pandia, I. S. (2021). Penentuan Akar Persamaan Nonlinier Dengan Metode Numerik. Jurnal Mutiara Pendidikan, 6(2), 122-129.

Wibowo, A. (2022). Implementasi Python dalam Penyelesaian Masalah Termodinamika Gas Nyata. Jurnal Komputasi Kimia Indonesia, 5(2)




DOI: https://doi.org/10.30596/ijems.v7i2.29468

Refbacks

  • There are currently no refbacks.



Indonesian Journal of Education and Mathematics Science

Universitas Muhammadiyah Sumatera Utara
Kampus Utama
Jl. Kapten Muchtar Basri No.3, Glugur Darat II,Medan
Sumatera Utara-20238

Kontak: 0819-4593-7110
E-mail: ijems@umsu.ac.id

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.