Open access peer-reviewed chapter

Computation of Numerical Solution via Non-Standard Finite Difference Scheme

Written By

Eiman Ijaz, Johar Ali, Abbas Khan, Muhammad Shafiq and Taj Munir

Reviewed: 04 October 2022 Published: 01 December 2022

DOI: 10.5772/intechopen.108450

From the Edited Volume

Qualitative and Computational Aspects of Dynamical Systems

Edited by Kamal Shah, Bruno Carpentieri and Arshad Ali

Chapter metrics overview

72 Chapter Downloads

View Full Metrics

Abstract

The recent COVID-19 pandemic has brought attention to the strategies of quarantine and other governmental measures, such as lockdown, media coverage on social isolation, strengthening of public safety, etc. All these strategies are because to manage the disease as there is no vaccine and appropriate medicine for treatment. The mathematical model can assist to determine whether these intervention options are the most effective ones for illness control and how they might impact the dynamics of the disease. Motivated by this, in this manuscript, a classical order nonlinear mathematical model has been proposed to analyze the pandemic COVID-19. The model has been analyzed numerically. The suggested mathematical model is classified into susceptible, exposed, recovered, and infected classes. The non-standard finite difference scheme (NSFDS) is used to achieve the approximate results for each compartment. The graphical presentations for various compartments of the systems that correspond to some real facts are given via MATLAB.

Keywords

  • nonlinear dynamical system
  • COVID-19
  • approximate solution
  • NSFDS

1. Introduction

Many diseases have affected the human population throughout history, the most dangerous of which are viral diseases. Measles, TB, Malaria, HBV, HCV, Dengue fever, Malignant Malignancies, Spanish flu, and other diseases have resulted in millions of deaths. People have learned a memorable lesson from history. So, for controlling and reducing the rate of infections in their communities, they have established different strategies. Among the aforesaid diseases, one of the infectious diseases is COVID-19.

COVID-19 is a threatful outbreak that arose in China [1, 2] and spread throughout the globe very rapidly. It is an infectious disease caused by the virus, severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The disease started at a seafood market in Wuhan, a big city in China, in December 2019. The disease spread in the entire city during February and March 2020. At that time, infected people were nearly 0.84 million and more than 5000 have died. Also a considerable number of infected people recovered from the said disease. The disease COVID-19 has become a pandemic due to several reasons. Some of them are (i) high transmission rate of the disease, (ii) lack of suitable vaccine and exact medicine, and (iii) the exact nature of the SARS-CoV-2 virus is still unknown. The incubation period can range from 2 to 14 days [3, 4, 5, 6, 7, 8, 9, 10, 11, 12]. The majority of COVID-19 symptoms are mild, although this may increase when variants arise.

Although there were 5.94 million COVID-19 deaths that were officially reported between January 1,2020, and December 31, 2021, the excess mortality caused by the COVID-19 pandemic resulted in 18.2 million deaths globally during that time. The COVID-19 pandemic caused an excess mortality rate of 120.3 fatalities per 100,000 people worldwide. The regions of south Asia, the Middle East, north Africa, and eastern Europe had the highest number of additional deaths brought on by COVID-19. At the national level, Mexico 798000, Brazil 792000, Indonesia 736000, and Pakistan 664000 were expected to have the largest total excess mortality from COVID-19, followed by the United States (1.13 million), Russia (1.07 million), and India (4.07 million). The excess mortality rate among these nations was highest in Mexico (325.1 per 100,000) and Russia (374.6 per 100,000), and it was comparable in Brazil (186.9 per 100,000) and the USA (179.3 per 100,000).

COVID-19 symptoms differ from one person to the next. In fact, some infected people show no signs or symptoms (asymptomatic). Cough, shortness of breath or difficulty breathing, fever or chills, headaches, weariness, muscular or body aches, sore throat, loss of taste or smell, congestion or runny nose, diarrhea, and nausea or vomiting are some of the symptoms people with COVID-19 infection [9]. It’s also possible that some will have additional symptoms. Many researchers, doctors, and policymakers are trying to prevent the disease from spreading. One important factor in the spreading of said disease is the migration of affected persons from one locality to another. This affects more people and hence plays a major role in the spreading. Therefore, the primary step taken by most countries is to announce city-wide lockdowns. So that some protective measures should be taken to minimize the greatest possible loss of human lives [13]. On an international level, banned air traffic for an unknown period of time. Keeping in mind that in the past such outbreak not only led to the greatest loss of human lives but also damaged the economy very badly throughout the world. Therefore, scientists and researchers are trying their best to put their part in the investigation of a cure for the COVID-19 outbreak. It is clear from a medical engineering point of view that infectious diseases can be better understood by using the mathematical model. In the last many decades, mathematical modeling is one of the important areas of research [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55]. To understand the dynamics of COVID-19, it is essential to formulate mathematical models that can assist in the estimation of the transmissibility and dynamic of the virus transmission. Also, the majority of real-world problems, such as infectious diseases, are nonlinear in nature. As a result, nonlinear mathematical models that describe a variety of real-world issues have piqued interest for decades. In this regard, various models were formulated or updated. Also, several types of research focusing on mathematical modeling of COVID-19 have been considered recently. Some models that have recently been considered in this regard are [56, 57, 58, 59]. Motivated by the above work, we are going to investigate the COVID-19 mathematical model (see 4) numerically under NSFDS.

Advertisement

2. Preliminaries

In numerical analysis, NSFDS is a general set of methods that gives numerical solutions to differential equations by discretizing the data. Many real-life problems are modeled by differential equations, for which analytical solutions are difficult to find out efficiently. Several researchers have tried different ways (e.g., via Finite Element Methods, Standard Finite Difference Methods, Spline Approximation Methods, etc). Nowadays, NSFDS is playing an important role in solving the real-life problems governed by ODEs and/or by PDEs. In science and engineering, many differential models for which the existing methodologies do not give reliable results, NSFDS are solving them competitively.

Here we derive the suggested scheme for simple problems as let

dydt=ftyE1

then NSFD equation is

yk+1ykh=ftyk,yk+1=yk+hftyk.

Definition 1. A successful example of a NSFD equation is one setup for a combustion model

dwdt=w21w.E2

The NSFD equation would be

wk+1wkh=wk2wk3.E3
Advertisement

3. Formulation of proposed model

A model is formulated that further divides the entire population into different classes given as:

individuals who have high chance of getting an infection are placed in susceptible class S, individuals who are in close contact with COVID-19 environment are placed in exposed class E, individuals having the symptoms of COVID-19 are placed in infected class I and R recovered class includes recovered individuals. A mathematical model of COVID-19 is described by the following system of differential eqs. [30].

ddtSt=γk1+αItStItεSt,ddtEt=k1+αItStItε+δEt,ddtIt=η+δEtυ+ε+βIt,ddtRt=βItεRt.E4

With initial conditions given by

S0=S0,E0=E0,I0=I0,R0=R0.

The description of above model is given in Figure 1.

Figure 1.

A flow chart of the proposed model.

Figure 2.

Dynamics of susceptible class.

Advertisement

4. Algorithm for approximate solution of the considered model

To compute the required approximate solution, using general form of NSFD on (4), we have

Sn+1tSnth=γk1+αIntSntIntεSnt,En+1tEnth=k1+αIntSntIntε+δEnt,In+1tInth=η+δEntυ+ε+βInt,Rn+1tRnth=βIntεRnt.E5
Sn+1t=Snt+hγk1+αIntSntIntεSnt,En+1t=Ent+hk1+αIntSntIntε+δEnt,In+1t=Int+hη+δEntυ+ε+βInt,Rn+1t=Rnt+hβIntεRnt.E6

Now putting n = 0, 1, 2 …. in (6), we get few terms of the approximate solution as

S1t=S0t+hγk1+αI0tS0tI0tεS0t,E1t=E0t+hk1+αI0tS0tI0tε+δE0t,I1t=I0t+hη+δE0tυ+ε+βI0t,R1t=R0t+hβI0tεR0t.E7
S2t=S1t+hγk1+αI1tS1tI1tεS1t,E2t=E1t+hk1+αI1tS1tI1tε+δE1t,I2t=I1t+hη+δE1tυ+ε+βI1t,R2t=R1t+hβI1tεR1t.E8
S3t=S2t+hγk1+αI2tS2tI2tεS2t,E3t=E2t+hk1+αI2tS2tI2tε+δE2t,I3t=I2t+hη+δE2tυ+ε+βI2t,R3t=R2t+hβI2tεR2t.E9

and so on. Similarly, the other terms may be computed.

Advertisement

5. Numerical interpretation

To present the concerned approximate solutions computed above of the model under consideration, we use numerical values for the parameters in given in Table 1. Based on reported data, the initial condition is set as [45]

Figure 3.

Dynamics of exposed class.

ParametersDescription of parametersNumerical value
γTested negative population0.250281×106
ηTested positive population0.006656×106
kThe infection rate0.000024
αRate of individual lose immunity0.01182
εNatural death rate0.0000004×106
νDeath rate due to C0VID-190.016
δInfected rate0.025
βRecovered rate0.75

Table 1.

Numerical values of parameters.

Figure 4.

Dynamics of infected class.

Figure 5.

Dynamics of recovered class.

Figure 6.

Comparison of the approximate solution for the susceptible class at NSFS and RK4.

Figure 7.

Comparison of the approximate solution for the exposed class at NSFS and RK4.

Figure 8.

Comparison of the approximate solution for the infected class at NSFS and RK4.

Figure 9.

Comparison of the approximate solution for the recovered class at NSFS and RK4.

S0E0I00=32.37million12million,0.001523million,0.005025million.

After putting the numerical values in Eq. (6), we obtained the following results.

Case (1) n = 0

S1t=3.2018×107,E1t=1.3738×106,I1t=4.5718×103,1t=5.0163×103.E10

And similarly from Eqs. (8) and (9), we get

Case (2) n = 1

S2t=2.9958×107,E2t=3.3015×106,I2t=4.9285×103,R2t=5.0305×103.E11

Case (3) n = 2

S3t=2.7741×107,E3t=5.3871×106,I3t=5.7629×103,R3t=5.0473×103.E12

Case (4) n = 3

S4t=2.4980×107,E4t=8.0161×106,I4t=7.1091×103,R4t=5.0703×103.E13

Case (5) n = 4

S5t=2.1258×107,E5t=1.1606×107,I5t=9.0967×103,R5t=5.1033×103.E14

In Figures 25, we have provided a graphical representation of different classes for the proposed model. We concluded that by taking a few terms of the series solutions we can efficiently describe the proposed model. We see in the figures that the susceptible class is decreasing as a result increase in infection occurred but due to vaccination and other precautions there occurred an increase in the recovered class. Further, we compare our results with the usual RK4 method numerical results for the given data in Table 1 in Figures 69 respectively. We see that the solution through the NSFDS and RK4 method agrees very well.

Advertisement

6. Some explanation and concluding remarks

In this work, we have studied a four-compartmental mathematical model based on a system of ordinary differential equations to study the dynamics of COVID-19 through the NSFDS method. With the help of the said technique, we develop an algorithm to discretize the data to find an approximate solution to the proposed problem. Using some real values for the parameters and initial data, we compute a few terms and approximate solutions corresponding to a different compartment. We plot our approximate solutions for different compartments graphically using MATLAB. We concluded that by taking a few terms of the solutions, we can efficiently describe the proposed model. As compared to RK4 and Euler methods, NSFD method is easy to implement. The computational cost is low and also good for time-saving in the future, one can extend the current study for mathematical models under nonsingular type derivatives. Finally, we have given a comparison between the approximate solution at NSFD method and RK4 method. We see that both solutions agreed very well.

References

  1. 1. Chan JF-W et al. Genomic characterization of the 2019 novel human-pathogenic coronavirus isolated from a patient with atypical pneumonia after visiting Wuhan. Emerging Microbes & Infections. 2020;9(1):221-236
  2. 2. World Health Organization. Coronavirus disease 2019 (COVID-19) Situation Report-62. 2019
  3. 3. Riou J, Althaus CL. Pattern of early human-to-human transmission of Wuhan 2019 novel coronavirus (2019-nCoV), December 2019 to January 2020. Eurosurveillance. 2020;25(4):2000058
  4. 4. Hurwitz JL. Viruses and the sars-cov-2/covid-19 pandemic of 2020. Viral Immunology. 2020;33(4):251-252
  5. 5. Ge XY et al. Isolation and characterization of a bat SARS–like coronavirus that uses the ACE2 receptor. Nature. 2013;503:535-538
  6. 6. Zhou P, Yang X-L, Wang X-G, Ben H, Zhang L, Zhang W, et al. A pneumonia outbreak associated with a new coronavirus of probable bat origin. Nature. 2020;579(7798):270-273
  7. 7. Sha H, Sanyi T, Libin R. A discrete stochastic model of the covid-19 outbreak, Forecast and control. Mathematical Bioscience Engineering. 2020;17(4):2792-2804
  8. 8. Fisher D, Heymann D. The novel coronavirus outbreak causing covid-19. BMC Medicine. 2020;18(1):1-3
  9. 9. Forida P et al. The symptoms, contagious process, prevention and post treatment of Covid-19. European Journal of Physiotherapy and Rehabilitation Studies. 2020;2020:11
  10. 10. World Health Organization. Advice on the use of masks in the context of COVID-19: Interim guidance. 2020
  11. 11. McAloon C et al. Incubation period of COVID-19, a rapid systematic review and meta-analysis of observational research. BMJ Open. 2020;10(8):e039652
  12. 12. Quesada JA et al. Incubation period of COVID-19, a systematic review and meta-analysis. Revista Clinica Espanola (English Edition). 2021;221(2):109-117
  13. 13. Lin Q et al. (COVID-19) outbreak in Wuhan, China with individual reaction and governmental action. International Journal of Infectious Diseases. 2019;93(2020):211-216
  14. 14. Li Q et al. Early transmission dynamics in Wuhan, China, of novel coronavirus-infected pneumonia. New England Journal of Medicine. 2020;382:1199-1207
  15. 15. Alqudah M, Abdeljawad T, Eiman Q, Madlal K, Shah FJ. Existence theory and approximate solution to prey-predator coupled system involving non singular kernel type derivative. Advanced in Difference Equation. 2020;1:1-10
  16. 16. Moaddy K, Momani S, Hashim I. The non-standard finite difference scheme for linear fractional PDEs in fluid mechanics. Computers & Mathematics with Applications. 2011;61(4):1209-1216
  17. 17. Mickens RE. Applications of nonstandard finite difference schemes. Singapore: World Scientific; 2000
  18. 18. Adekanye O, Washington T. Nonstandard finite difference scheme for a Tacoma Narrows Bridge model. Applied Mathematical Modelling. 2018;62:223-236
  19. 19. Korpusik A. A nonstandard finite difference scheme for a basic model of cellular immune response to viral infection. Communications in Nonlinear Science and Numerical Simulation. 2017;43:369-384
  20. 20. Mickens RE. A nonstandard finite difference scheme for a Fisher PDE having nonlinear diffusion. Computers and Mathematics with Applications. 2003;45:429-436
  21. 21. Hajipour M, Jajarmi A, Baleanu D. An efficient nonstandard finite difference scheme for a class of fractional chaotic systems. Journal of Computational and Nonlinear Dynamics. 2018;13(2)
  22. 22. Xu J, Geng Y, Hou J. A non-standard finite difference scheme for a delayed and diffusive viral infection model with general nonlinear incidence rate. Computers and Mathematics with Applications. 2017;74(8):1782-1798
  23. 23. Qin W, Wang L, Ding X. A nonstandard finite difference method for a hepatitis B virus infection model with spatial diffusion. Journal of Difference Equations and Applications. 2014;20(12):1641-1651
  24. 24. Manna K. A nonstandard finite difference scheme for a diffusive HBV infection model with capsids and time delay. Journal of Difference Equations and Applications. 2017;23(11):1901-1911
  25. 25. Manna K, Chakrabarty SP. Global stability and a nonstandard finite difference scheme for a diffusion driven HBV model with capsids. Journal of Difference Equations and Applications. 2015;21(10):918-933
  26. 26. Elsheikh S, Ouifki R, Patidar KC. A nonstandard finite difference method to solve a model of HIV–Malaria co–infection. Journal of Difference Equations and Applications. 2014;20(3):354-378
  27. 27. Tadmon C, Foko S. Nonstandard finite difference method applied to an initial boundary value problem describing hepatitis B virus infection. Journal of Difference Equations and Applications. 2020;26(1):122-139
  28. 28. Bisheh-Niasar M, Arab Ameri M. Moving meshnonstandard finite difference method for non–linear heat transfer in a thin finite rod. Journal of Applied and Computational Mechanics. 2018;4(3):161-166
  29. 29. Zafar ZU, Abadin NA, Younas S, Abdelwahab SF, Nisar KS. Numerical investigations of stochastic HIV/AIDS infection model. Alexandria Engineering Journal. 2021;60(6):5341-5363
  30. 30. Yang Y, Zhou J, Ma X, Zhang T. Nonstandard finite difference scheme for a diffusive within–host virus dynamics model with both virus–to–cell and cell–to–cell transmissions. Computers Mathematics with Applications. 2016;72(4):1013-1020
  31. 31. Singh H. Analysis for fractional dynamics of Ebola virus model. Chaos Solitons & Fractals. 2020;138:109992
  32. 32. Singh H, Singh CS. A reliable method based on second kind Chebyshev polynomial for the fractional model of Bloch equation. Alexandria Engineering Journal. 2018;57(3):1425-1432
  33. 33. Singh H. Operational matrix approach for approximate solution of fractional model of Bloch equation. Journal of King Saud University–Science. 2017;29(2):23-240
  34. 34. Singh H, Pandey R, Srivastava H. Solving non-linear fractional variational problems using jacobi polynomials. Mathematics. 2019;7(3):224
  35. 35. Singh H, Srivastava HM. Numerical investigation of the fractional order liénard and duffing equations arising in oscillating circuit theory. Frontier in Physics. 2020;8:120
  36. 36. Singh H, Sahoo MR, Singh OP. Numerical method based on Galerkin approximation for the fractional advection–dispersion equation. International Journal of Applied and Computational Mathematics. 2017;3(3):2171-2187
  37. 37. Zhang Y. Initial boundary value problem for fractal heat equation in the semi-infinite region by Yang–Laplace transform. Thermal Science. 2014;18(2):677-681
  38. 38. Miller KS, Ross B. An Introduction to the Fractional Calculus and Fractional Differential Equations. New York: Wiley; 1993
  39. 39. Eltayeb H, Kiliçman A. A note on solutions of wave, Laplace’s and heat equations with convolution terms by using a double Laplace transform. Applied Mathematics Letters. 2008;21(12):1324-1329
  40. 40. Spiga G, Spiga M. Two-dimensional transient solutions for crossflow heat exchangers with neither gas mixed. Journal of Heat Transfer-transactions of the ASME. 1987;109(2):281-286
  41. 41. Khan T, Shah K, Khan RA, Khan A. Solution of fractional order heat equation via triple Laplace transform in 2 dimensions. Mathematical Methods in the Applied Sciences. 2018;4(2):818-825
  42. 42. Shah K, Khalil H, Khan RA. Analytical solutions of fractional order diffusion equations by natural transform method. Iranian Journal of Science and Technology, Transactions A: Science. 2018;42(3):1479-1490
  43. 43. Singh H, Ghassabzadeh FA, Tohidi E, Cattani C. Legendre spectral method for the fractional Bratu problem. Mathematical Methods in the Applied Sciences. 2020;43(9):5941-5952
  44. 44. Singh H, Srivastava HM. Jacobi collocation method for the approximate solution of some fractional order Riccati differential equations with variable coefficients. Physica A. 2019;523:1130-1149
  45. 45. Singh H, Srivastava HM, Kumar D. A reliable algorithm for the approximate solution of the nonlinear Lane–Emden type equations arising in astrophysics. Numerical Methods for Partial Differential Equations. 2018;34(5):1524-1555
  46. 46. Singh J, Jassim HK, Kumar D. An efficient computational technique for local fractional Fokker Planck equation. Physica A. 2020;555(1):124525
  47. 47. Ahmad B, Sivasundaram S. On four–point nonlocal boundary value problems of nonlinear integro–differential equations of fractional order. Applied Mathematics and Computation. 2010;217:480-487
  48. 48. Bai Z. On positive solutions of a nonlocal fractional boundary value problem. Nonlinear Analysis. 2010;72:916-924
  49. 49. Khan RA, Shah K. Existence and uniqueness of solutions to fractional order multi-point boundary value problems. Communications in Applied Analysis. 2015;19:515-526
  50. 50. Shah K, Ali N, Khan RA. Existence of positive solution to a class of fractional differential equations with three point boundary conditions. Mathematics Science Letter. 2016;5(3):291-296
  51. 51. Wang J, Zhou Y, Wei W. Study in fractional differential equations by means of topological degree methods. Numerical Functional Analysis Optimum. 2012;33:216-238
  52. 52. Brauer F, Castillo-Chavez C. Mathematical Models in Population Biology and Epidemiology. New York: Springer; 2001
  53. 53. Hethcote HW. The mathematics of infectious diseases. SIAM Review. 2000;42:599
  54. 54. Hethcote HW, Van Ark JW. Modeling HIV Transmission and AIDS in the United States. Berlin, Heidelberg, New York: Springer; 1992
  55. 55. Lu H, Stratton CW, Tang YW. Outbreak of pneumonia of unknown Etiology in Wuhan China: The mystery and the miracle. Journal of Medical Virology. 2020;2020:1234-1260
  56. 56. Lin Q et al. A conceptual model for the coronavirus disease 2019 (COVID-19) outbreak in Wuhan, China with individual reaction and governmental action. International Journal of Infectious Diseases. 2020;93:211-216
  57. 57. Yousaf M et al. Statistical analysis of forecasting COVID-19 for upcoming month in Pakistan. Chaos, Solitons & Fractals. 2020;2020:109926
  58. 58. Shah K et al. Qualitative analysis of a mathematical model in the time of COVID-19. BioMed Research International. 2020;2020:11
  59. 59. Abdo MS et al. On a comprehensive model of the novel coronavirus (COVID-19) under Mittag-Leffler derivative. Chaos, Solitons & Fractals. 2020;2020:109867

Written By

Eiman Ijaz, Johar Ali, Abbas Khan, Muhammad Shafiq and Taj Munir

Reviewed: 04 October 2022 Published: 01 December 2022