Analyzing and Controlling COVID-19 Using SageMath Toolbox: A case Study in the D.R. Congo
DOI:
https://doi.org/10.30871/jaic.v9i4.9828Keywords:
COVID-19, Stability analysis, Basic Reproduction Number, SageMath (version 9.3)Abstract
Understanding the dynamics of an epidemic, to control, manage, or eradicate it, requires a wealth of knowledge in biology and mathematics. Computer tools also make significant contributions, thus, enabling us to carry out analyses and find approximate solutions, as well as run simulations to determine trends over time. In this study, we present a compartmental SVEIHAR model for the propagation and prevention of COVID-19. Using the computational and mathematical competencies of SageMath software (version 9.3) we simulate and evaluate the spread of the virus. Equilibria are calculated and adjusted according to the data. Again, the basic reproduction number, stabilities, and parameter sensitivities were studied. Our findings indicate that vaccination and cure rates are the most sensitive parameters, playing a crucial role in the fight against COVID-19. Again, the use of traditional plants, prayer, and meditation significantly decreases the value of the basic reproduction number. We also found that the disease will disappear after a time. Lastly, our study has shown the usefulness of SageMath software (version 9.3) which could be adapted to a variety of mathematical epidemic models.
Downloads
References
[1] W. O. Kermack et A. G. McKendrick, “Contribution to the Mathematical Theory of Epidemics,” Proceedings of the Royal Society of London. Series A, Containing Papers of a Mathematical and Physical Character, vol. 115, no 772, p. 700 721, 1927.
[2] P. Samui, J. Mondal, and S. Khajanchi, “A mathematical model for COVID-19 transmission dynamics with a case study of India,” Chaos, Solitons & Fractals, vol. 140, p. 110173, nov. 2020, doi: 10.1016/j.chaos.2020.110173.
[3] M. L. Diagne, H. Rwezaura, S. Y. Tchoumi, et J. M. Tchuenche, “A Mathematical Model of COVID-19 with Vaccination and Treatment,” Comput Math Methods Med, vol. 2021, p. 1250129, 2021, doi: 10.1155/2021/1250129.
[4] Z. Abreu, G. Cantin, C. J. Silva, “Analysis of a COVID-19 compartmental model: a mathematical and computational approach,” MBE, vol. 18, no 6, p. 7979 7998, 2021, doi: 10.3934/mbe.2021396.
[5] C. Balsa, I. Lopes, T. Guarda, andss J. Rufino, “Computational simulation of the COVID-19 epidemic with the SEIR stochastic model,” Comput Math Organ Theory, vol. 29, no 4, p. 507 525, dec. 2023, doi: 10.1007/s10588-021-09327-y.
[6] M. M. Motsumi et L. D. Nemakonde, “Coping with COVID-19 using traditional medicine: perspectives from Joe Morolong, Northern Cape,” Health SA Gesondheid, vol. 30, jan. 2025, doi: 10.4102/hsag.v30i0.2773.
[7] J. H. Katonge, “Exploring the role of traditional remedies, cultural practices, and belief interventions in combating COVID-19 in Dodoma City, Tanzania,” Pharmacological Research - Natural Products, vol. 7, p. 100225, jun 2025, doi: 10.1016/j.prenap.2025.100225.
[8] Hamer, W.H., (1906) “The Milroy Lectures on Epidemic Disease in England—The Evidence of Variability and Persistence of Type,” The Lancet, 1, 733-739. - References - Scientific Research Publishing, Accessed: Jun. 13, 2025. [Online]. Available:https://www.scirp.org/reference/ReferencesPapers?ReferenceID=2018497
[9] R. M. Anderson, “Infectious diseases of humans: dynamics and control,” in Oxford science publications. Oxford: University Press, 1991.
[10] A. Venkatesh, M. A. Rao, M. P. Raj, K. A. Kumar, et D. K. K. Vamsi, “Mathematical modelling of COVID-19 dynamics using SVEAIQHR model,” Computational and Mathematical Biophysics, vol. 12, no 1, p. 20230112, 2024, doi: 10.1515/cmb-2023-0112.
[11] N. Bacaër, McKendrick and Kermack on epidemic modelling (1926–1927), in: “A Short History of Mathematical Population Dynamics,” London: Springer London, 2011, p. 89 96. doi: 10.1007/978-0-85729-115-8_16.
[12] N. Bacaer. (2009). “Histoire de mathématiques et de population,” Paris: Cassini, 212p. https://www.documentation.ird.fr/hor/fdi:010051485
[13] C. Castillo-Chavez, Z. Feng, et W. Huang, “On the Computation of R 0 and its Role on Global Stability,” in Mathematical Approaches for Emerging and Reemerging Infectious Diseases: An Introduction, vol. 125. doi:10.1007/978-1-4757-3667-0_13
[14] Matondo Mananga Herman, Mangongo Tinda Yves, Mabela Matendo Rostin, Bopili Mbotia Richard, Efoto Eale Louis., “Modeling transmission dynamics of Covid-19 in the Democratic Republic of Congo using the six-class SEIiRS model”, Accessed: Jun. 13, 2025. [Online]. Available: https://www.researchgate.net/publication/364821491_Modelisation_de_la_Dynamique_de_Transmission_de_la_Covid-19_en_Republique_Democratique_du_Congo_a_l'Aide_du_Modele_SEIiRS_a_Six_Classes_Modeling_transmission_dynamics_of_Covid-19_in_the_Democratic_Rep
[15] P. Van Den Driessche et J. Watmough, “Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission,” Mathematical Biosciences, vol. 180, no 1 2, p. 29 48, nov. 2002, doi: 10.1016/S0025-5564(02)00108-6.
[16] O. A. Adepoju et S. Olaniyi, “Stability and optimal control of a disease model with vertical transmission and saturated incidence,” Scientific African, vol. 12, p. e00800, juill. 2021, doi: 10.1016/j.sciaf.2021.e00800.
[17] G. Bormolini, A. Ghinassi, C. Pagni, S. Milanese, et M. M. de Ponzuelo, “The Source of Life: Meditation and Spirituality in Healthcare for a Comprehensive Approach to The COVID-19 Syndemic,” Pastoral Psychol, vol. 71, no 2, p. 187 200, 2022, doi: 10.1007/s11089-022-01000-8.
[18] J. P. La Salle, “The Stability of Dynamical Systems,” in CBMS-NSF Regional Conference Series in Applied Mathematics. Society for Industrial and Applied Mathematics, 1976. doi: 10.1137/1.9781611970432.
[19] C. Mulungu, “The Role of Medicinal Plants in Healing Coronavirus Pandemic in Songwe Region, Tanzania,” Tanzania Journal of Sociology, vol. 10, no 2, p. 58 78, 2024.
[20] Fajar Ilham Maulana1, Yani Ramdani, “Python Application to SEIR Model of the Spread of Malaria,” BIOS: Jurnal Teknologi Informasi dan Rekayasa Komputer, Vol. 5, No. 2, September 2024, hlm. 150-160
[21] S. Kasereka et al., « Equation-Based Modeling vs. Agent-Based Modeling with Applications to the Spread of COVID-19 Outbreak », Mathematics, vol. 11, no 1, p. 253, janv. 2023, doi: 10.3390/math11010253.
[22] http://reliefweb.int/report/democratic-republic-congo/epidemie-de-la-maladie-coronavirus-2019-covid-19-en-republique-democratique-du-congo-rapport-de-situation-ndeg-1322022-du-11122022-hebdo-s522022 Accessed: Jun. 13, 2025. [Online].
[23] https://www.afro.who.int/fr/countries/democratic-republic-congo
[24] https://www.who.int/covid-19 Accessed: Jun. 13, 2025. [Online].
[25] Ijaz, S., Khalily, M. T., & Ahmad, I. (2017). Mindfulness in Salah prayer and its association with mental health. Journal of Religion and Health, 56(6), 2297–2307. https://doi.org/10.1007/s10943-017-0413-1
[26] Nahuda, N., Rosyada, D., Hamzens, M. F., Fadlilah, D. R., & Bahar, H., Improving mental health of adolescents through the practice of prayer. Indonesian Journal of Islam and Public Health, 2(2), 157-168.), 2022. doi: https://doi.org/10.53947/ijiph.v2i2.339
[27] Prechtel, D., To Live More Nearly as We Pray : Prayer Shaping Communities. Liturgy, 26(1), 11–19, 2010, https://doi.org/10.1080/0458063X.2010.519612
[28] Hasina SN, Noventi I, Livana P, Hartono D. Mindfulness Meditation Based on Spiritual Care to Reduce Community Anxiety due to the Impact of Pandemic Coronavirus Disease. Open Access Maced J Med Sci [Internet]. 2021 Aug. 31 [cited 2025 Jul. 5] ;9(G) :41-6. Available from : https://oamjms.eu/index.php/mjms/article/view/6487
[29] Dagan, N., Barda, N., Kepten, E., Miron, O., Perchik, S., Katz, Hernàn M. A., Lipsitch M, Reis B & Balicer, R. D. (2021). BNT162b2 mRNA Covid-19 vaccine in a nationwide mass vaccination setting. New England Journal of Medicine, 384(15), 1412-1423, 2021, https://doi.org/10.1056/NEJMoa2101765
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Herman MATONDO MANANGA, Pokuaa Gambrah Patience, Nguemfouo Marcial, Milolo Kanumuambidi Lea-Irène, Kasende Mundeke Peter, Consolant Majegeza Benjamin

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).








