<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1107618</article-id><article-id pub-id-type="publisher-id">OALibJ-111124</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Numerical and Chaotic Analysis of Proposed SIR Model
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Maysoon</surname><given-names>M. Aziz</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Arqam</surname><given-names>S. Mahmood</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>Directorate General of Education Nineveh Ministry of Education, Iraq</addr-line></aff><aff id="aff1"><addr-line>Department of Mathematics, College of Computer Sciences and Mathematics, University of Mosul, Mosul, Iraq</addr-line></aff><pub-date pub-type="epub"><day>28</day><month>07</month><year>2021</year></pub-date><volume>08</volume><issue>08</issue><fpage>1</fpage><lpage>12</lpage><history><date date-type="received"><day>7,</day>	<month>June</month>	<year>2021</year></date><date date-type="rev-recd"><day>3,</day>	<month>August</month>	<year>2021</year>	</date><date date-type="accepted"><day>6,</day>	<month>August</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In this paper, we use the classic mathematical model SIR with the three differential equations as a non-linear system and combine it with the Runge-Kutta numerical method of the fourth order and the sixth and seventh order of the same method to generate simulated data in each of the mentioned ranks (for susceptible people, Infected and recovered from the disease) for the epidemic disease COVID-19 by giving the initial values (initial conditions) for the population in a certain country of the world, and we chose this country that is Iraq. Through this work the difference between the results for the three methods (4
  <sup>th</sup>, 6
  <sup>th</sup>, and 7
  <sup>th</sup> order) was observed in terms of the error value, the time taken for each step and the total time to implement the solution in each rank, and this has been clarified in a table showing the comparison between the results for each rank for the numerical method. The binary test (0-1) was also used to study the chaotic behavior of the disease. The simulation data for the number of infected to solve in each rank was used to show the chaos of the dynamic system, and all methods of solution led to the results that the behavior of the disease is chaotic, the value of (Kc ≅ 1) and we explained that With a table showing the Kc values for the disease in each rank, also we used the Matlab system to write the important programs to obtain all the results and graphics required in this work.
 
</p></abstract><kwd-group><kwd>SIR Model</kwd><kwd> (R-K) Numerical Method</kwd><kwd> Chaotic Analyzing</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The continuous dynamical system is very rumor in several of applied sciences and engineering also computational mathematics [<xref ref-type="bibr" rid="scirp.111124-ref1">1</xref>] . in this paper, we will build a continuous dynamic system consisting of the classic three-dimensional SIR model, which is a model for studying and analyzing epidemic diseases [<xref ref-type="bibr" rid="scirp.111124-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.111124-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.111124-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.111124-ref5">5</xref>] and the known numerical method (Runge-Kutta) [<xref ref-type="bibr" rid="scirp.111124-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.111124-ref6">6</xref>] , with the fourth order [<xref ref-type="bibr" rid="scirp.111124-ref6">6</xref>] , sixth order [<xref ref-type="bibr" rid="scirp.111124-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.111124-ref8">8</xref>] and the seventh order [<xref ref-type="bibr" rid="scirp.111124-ref9">9</xref>] , where the model SIR is used with the 4<sup>th</sup> order, 6<sup>th</sup> order of the method (Runge-Kutta) Once and with the 7<sup>th</sup> rank of the same method again to generate simulated data (hypothetical) by taking initial values (initial conditions) from the real data of the daily statistics of the epidemic disease (COVID-19) for a specific country of the world and using those resulting data for each rank in the chaos test of the outbreak disease By using the binary test method (0-1), which is one of the chaotic testing methods for dynamic systems, which has the advantage that it depends mainly on observations of time series data, and the test result is either close to zero (which is the regularity state) or close to one (which is the chaotic state of the system) [<xref ref-type="bibr" rid="scirp.111124-ref10">10</xref>] - [<xref ref-type="bibr" rid="scirp.111124-ref16">16</xref>] , The disease dynamic lamentation has been shown to be chaotic (Kcorr ≅ 1). All figures and drawings showing the behavior of the chaotic system have been included. Also, programs have been built in Matlab system to apply to all the aforementioned operations (from finding simulation data, testing chaos, etc.). A program is also build to indicate which of the three ranks is better to study the dynamic system in terms of finding the step size, the maximum error, the time limit for each step, and the total time it takes to solve (in seconds). The results of this mathematical process have been shown in a table. At the end, a summary is listed containing all work results.</p></sec><sec id="s2"><title>2. SIR Model</title><p>It’s an epidemiologic mathematical model that does computing the theoretic numbers of individuals infected with a contagious disease in a closed population over times. This classic model his name is derived from the fact that they involve coupled equations relating the number of (susceptible (S), infected (I) and recovered (R)). SIR model is one of the simplest models that developed by (Kermack-Mckendrick) in (1927).</p><p>Description of SIR model:</p><p>S ˙ = d S d t = − β S I I ˙ = d I d t = β S I − γ I R ˙ = d R d t = γ I }       non-linearSystem (1)</p><disp-formula id="scirp.111124-formula1"><graphic  xlink:href="//html.scirp.org/file/111124x3.png?20210806091339311"  xlink:type="simple"/></disp-formula><p>N = S + I + R , S ˙ + I ˙ + R ˙ = 0</p><p>where:</p><p>N: The total number of population.</p><p>S(t): The number of Susceptible people at time (t).</p><p>I(t): The number of Infected people at time (t).</p><p>R(t): The number of Recovered people at time (t).</p><p>( β = 0.0845 ) : isatransmissionrate ( γ = 0.07 ) : isrecoveredrate } areconstantparametersofthemodelinIraq</p><p>where: β = μ + γ , γ = 1 / D , (μ = 0.0145): is mortality rate in day, D = 14: is duration of disease time.</p></sec><sec id="s3"><title>3. Basic Reproduction Number (R<sub>0</sub>)</title><p>Definition(R<sub>0</sub>): Represent to the average number of new infections generated by each infected person, the high value of (R<sub>0</sub>) means easy to transmit the disease, and the low value of (R<sub>0</sub>) means difficult to transmit the disease. (R<sub>0</sub>) is called threshold of disease, (the value of (R<sub>0</sub>) assumes that no pre-existing immunity, i.e. it mean everyone is susceptible), where Ro = β/γ.</p><p>Lemma: If R<sub>0</sub> &gt; 1 then I(t) is increasing and the disease is epidemic, and if R<sub>0</sub> &lt; 1 then I(t) is decreasing and the disease is endemic, It is assumed in the absence of a vaccine, the entire population will be susceptible to infection, meaning that S ≅ N, so we divide β by N.</p><p>Proof: From the SIR model we have: d I / d t = ( β / N ) ∗ S I − γ I → d I / d t = ( β − γ ) I → d I / I = ( β − γ ) d t by integral of two hand sides: ln I = ( β I − γ I ) + C → I ( t ) = e β T ( t ) − γ I ( t ) ⋅ e C , when t = 0 → I ( 0 ) = e C then I ( t ) = e β T ( t ) − γ I ( t ) ⋅ I ( 0 ) &gt; 0 when d I / d t &gt; 0 then β I − γ I &gt; 0 β I &gt; γ I → β / γ &gt; 1 → R 0 &gt; 1 .</p></sec><sec id="s4"><title>4. The Numerical Method “Runge-Kutta”</title><p>To solve the differential equations, we will use the following Relationships:</p><p>d x 1 / d t = g 1 ( t , x 1 , x 2 , ⋯ , x n )</p><p>d x 2 / d t = g 2 ( t , x 1 , x 2 , ⋯ , x n )</p><p>⋮</p><p>d x n / d t = g n ( t , x 1 , x 2 , ⋯ , x n )</p><p>For more simply we write: d y / d t = g ( t , x )</p><p>Where (x) is a vector for n-dimensions, this is not an independent equation. If we replace the right-hand side by g(x) we will get on an independent equation.</p><p>If the function (f) in the R.H. side is nonlinear, we will need numerical methods. The Runge-Kutta methods have the same precisions in solution as the Taylor expansions in any order, but there is no need for derivatives. We compute (x) at X<sub>ti</sub><sub>+1</sub> = X<sub>ti</sub> + h.</p><sec id="s4_1"><title>4.1. Runge-Kutta Method with 4<sup>th</sup> Order</title><p>The 4<sup>th</sup> order Runge-Kutta numerical method is one of the classic numerical methods used to solve the ordinary differential equations of nonlinear and time-related continuous dynamic systems with a number of iterations to obtain the best approximate value.</p><p>Description Method:</p><p>y<sub>n+1</sub> = y<sub>n</sub>+ h * (k1 + 2k2 + 2k3 + k4)/6.</p><p>where: Δt = h = t<sub>n+1</sub> − t<sub>n</sub> and:</p><p>k1 = f (t<sub>n</sub>, y<sub>n</sub>);</p><p>k2 = f (t<sub>n</sub> + h/2, y<sub>n</sub> + h * k1/2);</p><p>k3 = f (t<sub>n</sub> + h/2, y<sub>n</sub> + h * k2/2);</p><p>k4 = f (t<sub>n</sub> + h, y<sub>n</sub> + h * k3).</p><p>From system (1) we have: dS/dt = f1, dI/dt = f2, dR/dt = f3, (So, Io, Ro) = (3 &#215; 10<sup>6</sup>, 100, 0) initial condition, to = 1,</p><p>K1 = h * f1(to, So, Io, Ro),</p><p>L1 = h * f2(to, So, Io, Ro),</p><p>M1 = h * f3(to, So, Io, Ro);</p><p>K2 = h * f1(to + h/2, So + K1/2, Io + L1/2, Ro + M1/2),</p><p>L2 = h * f2 (to + h/2, So + K1/2, Io + L1/2, Ro + M1/2),</p><p>M2 = h * f3(to + h/2, So + K1/2, Io + L1/2, Ro + M1/2);</p><p>K3 = h * f1(to + h/2, So + K2/2, Io + L2/2, Ro + M2/2),</p><p>L3 = h * f2(to + h/2, So + K2/2, Io + L2/2, Ro + M2/2),</p><p>M3 = h * f3(to + h/2, So + K2/2, Io + L2/2, Ro + M2/2);</p><p>K4 = h * f1(to + h, So + K3, Io + L3, Ro + M3),</p><p>L4 = h * f2(to + h, So + K3, Io + L3, Ro + M3),</p><p>M4 = h * f3(to + h, So + K3, Io + L3, Ro + M3);</p><p>S<sub>1</sub> = So + h/6 &#215; (K1 + 2K2 + 2K3 + K4),</p><p>I<sub>1</sub> = Io + h/6 &#215; (L1 + 2L2 + 2L3 + L4),</p><p>R<sub>1</sub> = Ro + h/6 &#215; (M1 + 2M2 + 2M3 + M4).</p><p>The process is repeated with (n) iterations by using Matlab program.</p></sec><sec id="s4_2"><title>4.2. The Numerical Method “Runge-Kutta” of 6th Order</title><p>k1 = h * f(t(i); x(i), y(i), z(i)),</p><p>l1 = h * g(t(i), x(i), y(i), z(i)),</p><p>m1 = h * p(t(i), x(i), y(i), z(i));</p><p>k2 = h * f(x(i) + k1/3, y(i) + l1/3, z(i) + m1/3),</p><p>l2 = h * g(x(i) + k1/3, y(i) + l1/3, z(i) + m1/3),</p><p>m2 = h * p(x(i) + k1/3, y(i) + l1/3, z(i) + m1/3);</p><p>k3 = h * f(x(i) + 2 * k2/3, y(i) + 2 * l2/3, z(i) + 2 * m2/3),</p><p>l3 = h * g(x(i) + 2 * k2/3, y(i) + 2 * l2/3, z(i) + 2 * m2/3),</p><p>m3 = h * p(x(i) + 2 * k2/3, y(i) + 2 * l2/3, z(i) + 2 * m2/3);</p><p>k4 = h * f(x(i) + k1/12 + k2/3 − k3/12, y(i) + l1/12 + l2/3 − l3/12, z(i) + m1/12 + m2/3 − m3/12),</p><p>l4 = h * g(x(i) + k1/12 + k2/3 − k3/12, y(i) + l1/12 + l2/3 − l3/12, z(i) + m1/12 + m2/3 − m3/12),</p><p>m4 = h * p(x(i) + k1/12 + k2/3 − k3/12, y(i) + l1/12 + l2/3 − l3/12, z(i) + m1/12 + m2/3 − m3/12) k5 = h * f(x(i) + 25 * k1/48 − 55 * k2/24 + 35 * k3/48 + 15 * k4/8, y(i) + 25 * l1/48 − 55 * l2/24 + 35 * l3/48 + 15 * l4/8, z(i) + 25 * m1/48 − 55 * m2/24 + 35 * m3/48 + 15 * m4/8);</p><p>l5 = h * g(x(i) + 25 * k1/48 − 55 * k2/24 + 35 * k3/48 + 15 * k4/8, y(i) + 25 * l1/48 − 55 * l2/24 + 35 * l3/48 + 15 * l4/8, z(i) + 25 * m1/48 − 55 * m2/24 + 35 * m3/48 + 15 * m4/8),</p><p>m5 = h * p(x(i) + 25 * k1/48 − 55 * k2/24 + 35 * k3/48 + 15 * k4/8, y(i) + 25 * l1/48 − 55 * l2/24 + 35 * l3/48 + 15 * l4/8, z(i) + 25 * m1/48 − 55 * m2/24 + 35 * m3/48 + 15 * m4/8);</p><p>k6 = h * f(x(i) + 3 * k1/20 − 11 * k2/20 − k3/8 + k4/2 + k5/10, y(i) + 3 * l1/20 − 11 * l2/20 − l3/8 + l4/2 + l5/10, z(i) + 3 * m1/20 − 11 * m2/20 − m3/8 + m4/2 + m5/10),</p><p>l6 = h * g(x(i) + 3 * k1/20 − 11 * k2/20 − k3/8 + k4/2 + k5/10, y(i) + 3 * l1/20 − 11 * l2/20 − l3/8 + l4/2 + l5/10, z(i) + 3 * m1/20 − 11 * m2/20 − m3/8 + m4/2 + m5/10),</p><p>m6 = h * p(x(i) + 3 * k1/20 − 11 * k2/20 − k3/8 + k4/2 + k5/10, y(i) + 3 * l1/20 − 11 * l2/20 − l3/8 + l4/2 + l5/10, z(i) + 3 * m1/20 − 11 * m2/20 − m3/8 + m4/2 + m5/10);</p><p>k7 = h * f(x(i) − 261 * k1/260 + 33 * k2/13 + 43 * k3/156 − 118 * k4/39 + 32 * k5/195 + 80 * k6/39, y(i) − 261 * l1/260 + 33 * l2/13 + 43 * l3/156 − 118 * l4/39 + 32 * l5/195 + 80 * l6/39, z(i) − 261 * m1/260 + 33 * m2/13 + 43 * m3/156 − 118 * m4/39 + 32 * m5/195 + 80 * m6/39),</p><p>l7 = h * g(x(i) − 261 * k1/260 + 33 * k2/13 + 43 * k3/156 − 118 * k4/39 + 32 * k5/195 + 80 * k6/39, y(i) − 261 * l1/260 + 33 * l2/13 + 43 * l3/156 − 118 * l4/39 + 32 * l5/195 + 80 * l6/39, z(i) − 261 * m1/260 + 33 * m2/13 + 43 * m3/156 − 118 * m4/39 + 32 * m5/195 + 80 * m6/39),</p><p>m7 = h * p(x(i) − 261 * k1/260 + 33 * k2/13 + 43 * k3/156 − 118 * k4/39 + 32 * k5/195 + 80 * k6/39, y(i) − 261 * l1/260 + 33 * l2/13 + 43 * l3/156 − 118 * l4/39 + 32 * l5/195 + 80 * l6/39, z(i) − 261 * m1/260 + 33 * m2/13 + 43 * m3/156 − 118 * m4/39 + 32 * m5/195 + 80 * m6/39);</p><p>x(i + 1) = x(i) + h * (13 * k1 + 55 * k3 + 55 * k4 + 32 * k5 + 32 * k6 + 13 * k7)/200,</p><p>y(i + 1) = y(i) + h * (13 * l1 + 55 * l3 + 55 * l4 + 32 * l5 + 32 * l6 + 13 * l7)/200,</p><p>z(i + 1) = z(i) + h * (13 * m1 + 55 * m3 + 55 * m4 + 32 * m5 + 32 * m6 + 13 * m7)/200.</p></sec><sec id="s4_3"><title>4.3. The Numerical Method “Runge-Kutta” of 7th Order</title><p>k1 = h * f(x(i), y(i), z(i)),</p><p>l1 = h * g(x(i), y(i), z(i)),</p><p>m1 = h * p(x(i), y(i), z(i));</p><p>k2 = h * f(t(i) + h/18, x(i) + h/18 * k1, y(i) + h/18 * l1),</p><p>l2 = h * g(t(i) + h/18, x(i) + h/18 * k1, y(i) + h/18 * l1),</p><p>m2 = h * p(t(i) + h/18, x(i) + h/18 * k1, y(i) + h/18 * l1);</p><p>k3 = h * f(t(i) + (3 * h)/36, x(i) + 1/60 * (4 * k1 + k2), y(i) + 1/60 * (4 * l1 + l2)),</p><p>l3 = h * g(t(i) + (3 * h)/36, x(i) + 1/60 * (4 * k1 + k2), y(i) + 1/60 * (4 * l1 + l2)),</p><p>m3 = h * p(t(i) + (3 * h)/36, x(i) + 1/60 * (4 * k1 + k2), y(i) + 1/60 * (4 * l1 + l2));</p><p>k4 = h * f(t(i) + (4 * h)/36, x(i) + 1/180 * (−181 * k1 + 171 * k2 + 130 * k3), y(i) + 1/180 * (−181 * l1 + 171 * l2 + 130 * l3)),</p><p>l4 = h * g(t(i) + (4 * h)/36, x(i) + 1/180 * (−181 * k1 + 171 * k2 + 130 * k3), y(i) + 1/180 * (−181 * l1 + 171 * l2 + 130 * l3)),</p><p>m4 = h * p(t(i) + (4 * h)/36, x(i) + 1/180 * (−181 * k1 + 171 * k2 + 130 * k3), y(i) + 1/180 * (−181 * l1 + 171 * l2 + 130 * l3));</p><p>k5 = h * f(t(i) + (5 * h)/36, x(i) + 1/180 * (−902 * k1 + 293 * k2 − 2040 * k3 + 30 * k4), y(i) + 1/180 * (−902 * l1 + 293 * l2 − 2040 * l3 + 30 * l4)),</p><p>l5 = h * g(t(i) + (5 * h)/36, x(i) + 1/180 * (−902 * k1 + 293 * k2 − 2040 * k3 + 30 * k4), y(i) + 1/180 * (−902 * l1 + 293 * l2 − 2040 * l3 + 30 * l4)),</p><p>m5 = h * p(t(i) + (5 * h)/36, x(i) + 1/180 * (−902 * k1 + 293 * k2 − 2040 * k3 + 30 * k4), y(i) + 1/180 * (−902 * l1 + 293 * l2 − 2040 * l3 + 30 * l4));</p><p>k6 = h * f(t(i) + h/6, x(i) + 1/24 * (−15 * k1 + 48 * k2 + 31 * k3 + k4 + k5), y(i) + 1/24 * (−15 * l1 + 48 * l2 + 31 * l3 + l4 + l5)),</p><p>l6 = h * g(t(i) + h/6, x(i) + 1/24 * (−15 * k1 + 48 * k2 + 31 * k3 + k4 + k5), y(i) + 1/24 * (−15 * l1 + 48 * l2 + 31 * l3 + l4 + l5)),</p><p>m6 = h * p(t(i) + h/6, x(i) + 1/24 * (−15 * k1 + 48 * k2 + 31 * k3 + k4 + k5), y(i) + 1/24 * (−15 * l1 + 48 * l2 + 31 * l3 + l4 + l5));</p><p>k7 = h * f(t(i) + (2 * h)/6, x(i) + 1/30 * (17 * k1 − 48 * k2 + 31 * k3 − k4 − k5 + 12 * k6), y(i) + 1/30 * (17 * l1 − 48 * l2 + 31 * l3 − l4 − l5 + 12 * l6)),</p><p>l7 = h * g(t(i) + (2 * h)/6, x(i) + 1/30 * (17 * k1 − 48 * k2 + 31 * k3 − k4 − k5 + 12 * k6), y(i) + 1/30 * (17 * l1 − 48 * l2 + 31 * l3 − l4 − l5 + 12 * l6)),</p><p>m7 = h * p(t(i) + (2 * h)/6, x(i) + 1/30 * (17 * k1 − 48 * k2 + 31 * k3 − k4 − k5 + 12 * k6), y(i) + 1/30 * (17 * l1 − 48 * l2 + 31 * l3 − l4 − l5 + 12 * l6));</p><p>k8 = h * f(t(i) + (3 * h)/6, x(i) + 1/80 * (192 * k1 − 528 * k2 + 341 * k3 − 11 * k4 − 11 * k5 + 32 * k6 + 25 * k7), y(i) + 1/80 * (192 * l1 − 528 * l2 + 341 * l3 − 11 * l4 − 11 * l5 + 32 * l6 + 25 * l7)),</p><p>l8 = h * g(t(i) + (3 * h)/6, x(i) + 1/80 * (192 * k1 − 528 * k2 + 341 * k3 − 11 * k4 − 11 * k5 + 32 * k6 + 25 * k7), y(i) + 1/80 * (192 * l1 − 528 * l2 + 341 * l3 − 11 * l4 − 11 * l5 + 32 * l6 + 25 * l7)),</p><p>m8 = h * p(t(i) + (3 * h)/6, x(i) + 1/80 * (192 * k1 − 528 * k2 + 341 * k3 − 11 * k4 − 11 * k5 + 32 * k6 + 25 * k7), y(i) + 1/80 * (192 * l1 − 528 * l2 + 341 * l3 − 11 * l4 − 11 * l5 + 32 * l6 + 25 * l7));</p><p>k9 = h * f(t(i) + (4 * h)/6, x(i) + 1/66 * (54 * k1 − 144 * k2 + 93 * k3 − 3 * k4 − 3 * k5 + 32 * k6 − 17 * k7 + 32 * k8), y(i) + 1/66 * (54 * l1 − 144 * l2 + 93 * l3 − 3 * l4 − 3 * l5 + 32 * l6 − 17 * l7 + 32 * l8)),</p><p>l9 = h * g(t(i) + (4 * h)/6, x(i) + 1/66 * (54 * k1 − 144 * k2 + 93 * k3 − 3 * k4 − 3 * k5 + 32 * k6 − 17 * k7 + 32 * k8), y(i) + 1/66 * (54 * l1 − 144 * l2 + 93 * l3 − 3 * l4 − 3 * l5 + 32 * l6 − 17 * l7 + 32 * l8)),</p><p>m9 = h * p(t(i) + (4 * h)/6, x(i) + 1/66 * (54 * k1 − 144 * k2 + 93 * k3 − 3 * k4 − 3 * k5 + 32 * k6 − 17 * k7 + 32 * k8), y(i) + 1/66 * (54 * l1 − 144 * l2 + 93 * l3 − 3 * l4 − 3 * l5 + 32 * l6 − 17 * l7 + 32 * l8));</p><p>k10 = h * f(t(i) + (5 * h)/6, x(i) + 1/3960 * (−22876 * k1 + 64464 * k2 − 41633 * k3 + 1343 * k4 + 1343 * k5 − 656 * k6 − 460 * k7 − 40 * k8 + 1815 * k9), y(i) + 1/3960 * (−22876 * l1 + 64464 * l2 − 41633 * l3 + 1343 * l4 + 1343 * l5 − 656 * l6 − 460 * l7 − 40 * l8 + 1815 * l9)),</p><p>l10 = h * g(t(i) + (5 * h)/6, x(i) + 1/3960 * (−22876 * k1 + 64464 * k2 − 41633 * k3 + 1343 * k4 + 1343 * k5 − 656 * k6 − 460 * k7 − 40 * k8 + 1815 * k9), y(i) + 1/3960 * (−22876 * l1 + 64464 * l2 − 41633 * l3 + 1343 * l4 + 1343 * l5 − 656 * l6 − 460 * l7 − 40 * l8 + 1815 * l9)),</p><p>m10 = h * p(t(i) + (5 * h)/6, x(i) + 1/3960 * (−22876 * k1 + 64464 * k2 − 41633 * k3 + 1343 * k4 + 1343 * k5 − 656 * k6 − 460 * k7 − 40 * k8 + 1815 * k9), y(i) + 1/3960 * (−22876 * l1 + 64464 * l2 − 41633 * l3 + 1343 * l4 + 1343 * l5 − 656 * l6 − 460 * l7 − 40 * l8 + 1815 * l9));</p><p>k11 = h * f(t(i) + h, x(i) + 1/902 * (16139 * k1 − 45120 * k2 + 29140 * k3 − 940 * k4 − 940 * k5 + 1828 * k6 − 769 * k7 + 2752 * k8 − 1980 * k9 + 792 * k10), y(i) + 1/902 * (16139 * l1 − 45120 * l2 + 29140 * l3 − 940 * l4 − 940 * l5 + 1828 * l6 − 769 * l7 + 2752 * l8 − 1980 * l9 + 792 * l10)),</p><p>l11 = h * g(t(i) + h, x(i) + 1/902 * (16139 * k1 − 45120 * k2 + 29140 * k3 − 940 * k4 − 940 * k5 + 1828 * k6 − 769 * k7 + 2752 * k8 − 1980 * k9 + 792 * k10), y(i) + 1/902 * (16139 * l1 − 45120 * l2 + 29140 * l3 − 940 * l4 − 940 * l5 + 1828 * l6 − 769 * l7 + 2752 * l8 − 1980 * l9 + 792 * l10)),</p><p>m11 = h * p(t(i) + h, x(i) + 1/902 * (16139 * k1 − 45120 * k2 + 29140 * k3 − 940 * k4 − 940 * k5 + 1828 * k6 − 769 * k7 + 2752 * k8 − 1980 * k9 + 792 * k10), y(i) + 1/902 * (16139 * l1 − 45120 * l2 + 29140 * l3 − 940 * l4 − 940 * l5 + 1828 * l6 − 769 * l7 + 2752 * l8 − 1980 * l9 + 792 * l10));</p><p>x(i + 1) = x(i) + (41 * k1 + 216 * k6 + 27 * k7 + 272 * k8 + 27 * k9 + 216 * k10 + 41 * k11)/840,</p><p>y(i + 1) = y(i) + (41 * l1 + 216 * l6 + 27 * l7 + 272 * l8 + 27 * l9 + 216 * l10 + 41 * l11)/840,</p><p>z(i + 1) = z(i) + (41 * m1 + 216 * m6 + 27 * m7 + 272 * m8 + 27 * m9 + 216 * m10 + 41 * m11)/840.</p><p>where: xn + 1 = xn + [(41k1 + 216k6 + 27k7 + 272k8 + 27k9 + 216k10 + 41k11)/840]. The results of the three methods are shown in <xref ref-type="table" rid="table1">Table 1</xref>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Shown the comparison between results of 4<sup>th</sup>, 6<sup>th</sup>, and 7<sup>th</sup> order of R-K numerical method and get more accuracy</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="7"  >The Runge-Kutta method</th><th align="center" valign="middle" ></th></tr></thead><tr><td align="center" valign="middle"  rowspan="2"  >Step size</td><td align="center" valign="middle"  colspan="2"  >4th order</td><td align="center" valign="middle"  colspan="2"  >6th order</td><td align="center" valign="middle"  colspan="2"  >7th order</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Error</td><td align="center" valign="middle" >Time in Second</td><td align="center" valign="middle" >Error</td><td align="center" valign="middle" >Time in Second</td><td align="center" valign="middle" >error</td><td align="center" valign="middle" >Time in Second</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >dt/1 = 0.01</td><td align="center" valign="middle" >Inf</td><td align="center" valign="middle" >1.4</td><td align="center" valign="middle" >Inf</td><td align="center" valign="middle" >6.2</td><td align="center" valign="middle" >Inf</td><td align="center" valign="middle" >3.9</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Dt/2 = 0.005</td><td align="center" valign="middle" >2216.9968</td><td align="center" valign="middle" >1.4</td><td align="center" valign="middle" >Inf</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >Inf</td><td align="center" valign="middle" >4.2</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Dt/4 = 0.0025</td><td align="center" valign="middle" >174.5643</td><td align="center" valign="middle" >1.4</td><td align="center" valign="middle" >320,083.898274</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >319,518.685882</td><td align="center" valign="middle" >3.8</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Dt/8 = 0.00125</td><td align="center" valign="middle" >12.2611</td><td align="center" valign="middle" >1.4</td><td align="center" valign="middle" >2,539,526.94512</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >2,539,945.04633</td><td align="center" valign="middle"  colspan="2"  >3.8</td></tr><tr><td align="center" valign="middle" >dt/16 = 0.000625</td><td align="center" valign="middle" >0.8125</td><td align="center" valign="middle" >1.4</td><td align="center" valign="middle" >1,186,189.72471</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >1,189,148.66528</td><td align="center" valign="middle"  colspan="2"  >3.9</td></tr><tr><td align="center" valign="middle" >Dt/32 = 0.0003125</td><td align="center" valign="middle" >0.0523</td><td align="center" valign="middle" >1.4</td><td align="center" valign="middle" >273,214.706571</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >272,023.301318</td><td align="center" valign="middle"  colspan="2"  >3.7</td></tr><tr><td align="center" valign="middle" >Dt/64 = 0.00015625</td><td align="center" valign="middle" >0.0033</td><td align="center" valign="middle" >2.1</td><td align="center" valign="middle" >217,761.337783</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >216,946.587361</td><td align="center" valign="middle"  colspan="2"  >3.9</td></tr><tr><td align="center" valign="middle" >Dt/128 = 7.8125e−5</td><td align="center" valign="middle" >4.6614e−5</td><td align="center" valign="middle" >1.4</td><td align="center" valign="middle" >3204.148445892</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >3139.59110565</td><td align="center" valign="middle"  colspan="2"  >3.9</td></tr><tr><td align="center" valign="middle" >Dt/256 = 3.90625e−5</td><td align="center" valign="middle"  colspan="2"  >ERROR LIMIT SATISFIED</td><td align="center" valign="middle" >55.9530969299</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >55.7923759269</td><td align="center" valign="middle"  colspan="2"  >3.8</td></tr><tr><td align="center" valign="middle" >Dt/512 = 1.953125e5</td><td align="center" valign="middle"  colspan="2"  ></td><td align="center" valign="middle" >2.735944731744</td><td align="center" valign="middle" >6.0</td><td align="center" valign="middle" >2.72836970305</td><td align="center" valign="middle"  colspan="2"  >3.8</td></tr><tr><td align="center" valign="middle" >Dt/1024 = 9.765625e−6</td><td align="center" valign="middle"  colspan="2"  ></td><td align="center" valign="middle"  colspan="2"  >ERROR LIMIT SATISFIED</td><td align="center" valign="middle"  colspan="3"  >ERROR LIMIT SATISFIED</td></tr><tr><td align="center" valign="middle" >Total Time to execution</td><td align="center" valign="middle"  colspan="2"  >12.0</td><td align="center" valign="middle"  colspan="2"  >66.2</td><td align="center" valign="middle"  colspan="3"  >42.5</td></tr></tbody></table></table-wrap></sec></sec><sec id="s5"><title>5. Chaotic Analysis</title><p>To explain the chaotic state we will take the (0-1) test to know if the system is regular or chaotic.</p>The Binary Test (0-1)<p>Consider scalar observable ϕ ( k ) :</p><p>P n = ∑ k = 1 n ϕ ( k ) cos ( k c ) , q n = ∑ k = 1 n ϕ ( k ) sin ( k c )</p><p>where c ∈ ( 0 , π ) , n = 1 , 2 , 3 , ⋯ , L from behavior of P<sub>n</sub> and q<sub>n</sub> can be computing the Mean Square Displacement (MSD) = M(n)</p><p>M ( n ) = lim L → ∞ ( 1 L ) ∑ k = 1 L [ ( P ( k + n ) − P ( k ) ) 2 + ( q n ( k + n ) − q n ( k ) ) 2 ]</p><p>where n = 1 , 2 , ⋯ , L / 10 .</p><p>V o s c ( n ) = [ E ( ϕ ) ] 2 &#215; 1 − cos ( n c ) 1 − cos ( c ) ,</p><p>where E ( ϕ ) = lim L → ∞ ( 1 L ) ∑ k = 1 n ϕ ( k ) .</p><p>Then D ( n ) = M ( n ) − V o s c ( n ) ,</p><p>K c o r r = K c = lim n → ∞ log M c ( n ) log ( n ) .</p><p>Kc states:</p><p>Either the value of K ≅ 0 it is signifying to regular dynamics.</p><p>Or the value of K ≅ 1 it is signifying to chaotic dynamics, where K c ∈ [ 0 , 1 ] .</p><p>Remark: if the motion is torus then the dynamic system is regular (non-chaotic), and if it behaves like a Brownian motion then the dynamic system is said it chaotic.</p><p>the Chaotic of simulated data of the 4<sup>th</sup> order for Iraq by using Zero-one test shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, the chaotic of simulated data of 6<sup>th</sup> order for Iraq by using Zero-one test shown in <xref ref-type="fig" rid="fig2">Figure 2</xref> and in <xref ref-type="fig" rid="fig3">Figure 3</xref> shows the chaotic of simulated data of 7<sup>th</sup> order by Zero-one test for Iraq.</p><p>Then the behavior of disease is chaotic (in Iraq). The results of the three methods are shown in <xref ref-type="table" rid="table2">Table 2</xref>.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Shown the results of kcorr of 4<sup>th</sup>, 6<sup>th</sup> and 7<sup>th</sup> order of R-Knumerical method for Iraq</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Order of Method</th><th align="center" valign="middle" >4<sup>th</sup></th><th align="center" valign="middle" >6<sup>th</sup></th><th align="center" valign="middle" >7<sup>th</sup></th></tr></thead><tr><td align="center" valign="middle" >Kcorr</td><td align="center" valign="middle" >0.912</td><td align="center" valign="middle" >0.9212</td><td align="center" valign="middle" >0.9560</td></tr></tbody></table></table-wrap></sec><sec id="s6"><title>6. Graphical Analysis</title></sec><sec id="s7"><title>7. Conclusions</title><p>We conducted a study on the error value when solving nonlinear problems and obtaining approximate values of the results as well as the time limit and the total execution time of the previously estimated error for the process of calculating a dynamical system consisting of ordinary differential equations and comparing the results which we obtained it.</p><p>In this paper, we dealt with the SIR mathematical model to study the characteristics of the epidemic disease (COVID-19), and We have used the numerical Runge-Kutta method of order 4<sup>th</sup>, 6<sup>th</sup>, and 7<sup>th</sup> to obtain a comparison between the results in terms of the estimated error value, the time limits for each step and the total time taken to implement the process in the program. Our choice to the orders of the numerical method is to obtain a more accurate solution with the least error and the shortest time, and we note the difference by building a table of the results obtained showing us that. Initial values were used for the application in resolving the system which was obtained from statistics and data on Covid-19 for a specific population from among the world's population, which is (Iraq). The elementary values were applied to the composite system from the nonlinear SIR equations with the three-order numerical method (R-K) and it gave great benefit in the information. The binary test is used for separate analysis of deterministic dynamical systems and is also used to test the chaos of the dynamic disease system. And we have applied the test on (1-0) on the model for each of the 4<sup>th</sup>, the 6<sup>th</sup>, and the 7<sup>th</sup> orders, and the result for all orders indicate that the behavior of the disease is chaotic (Kcorr of 4<sup>th</sup> ord. = 0.912 ≅ 1), (Kcorr of 6<sup>th</sup> ord. = 0.9212 ≅ 1) and (Kcorr of 7<sup>th</sup> ord. = 0.9560 ≅ 1). The result with the application of the 7<sup>th</sup> rank was better and more chaotic than the result of the application of the other ranks, Programs have been built in the Matlab system to perform all operations. Mathematical work through it and obtaining all the results and required values and figures illustrate our idea to provide organized scientific research that provides researchers with a good and useful idea.</p></sec><sec id="s8"><title>Acknowledgements</title><p>The authors are very grateful to the University of Mosul/College of Computer Sciences and Mathematics for their provided facilities, which helped to improve the quality of this work.</p></sec><sec id="s9"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest.</p></sec><sec id="s10"><title>Cite this paper</title><p>Aziz, M.M. and Mahmood, A.S. (2021) Numerical and Chaotic Analysis of Proposed SIR Model. Open Access Library Journal, 8: e7618. https://doi.org/10.4236/oalib.1107618</p></sec></body><back><ref-list><title>References</title><ref id="scirp.111124-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Wiggins, S. (2003) Introduction to Applied Nonlinear Dynamical Systems and Chaos. Second Edition, Springer-Verlag, New York.</mixed-citation></ref><ref id="scirp.111124-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Simon, C.M. (2020) The SIR Dynamic Model of Infectious Disease Transmission and Its Analogy with Chemical Kinetics. PeerJ Physical Chemistry, 2, e14.  
https://doi.org/10.7717/peerj-pchem.14</mixed-citation></ref><ref id="scirp.111124-ref3"><label>3</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Rodrigues</surname><given-names> H.S. </given-names></name>,<etal>et al</etal>. (<year>2016</year>)<article-title>Application of SIR Epidemiological Model: New Trends</article-title><source> International Journal of Applied Mathematics and Informatics</source><volume> 10</volume>,<fpage> 92</fpage>-<lpage>97</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.111124-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Weiss, H.H. (2013) The SIR model and the Foundations of Public Health. Materials Matemàtics, 2013, 17 p.</mixed-citation></ref><ref id="scirp.111124-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Aziz, M.M. and Mahmood, A.S. (2021) Analysis of Dynamical Behavior for Epidemic Disease COVID-19 with Application. Turkish Journal of Computer and Mathematics Education, 12, 568-577. https://doi.org/10.17762/turcomat.v12i4.538</mixed-citation></ref><ref id="scirp.111124-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Hossain, T., Miah, M. and Hossain, B. (2017) Numerical Study of Kermack-Mckendrick SIR Model to Predict the Outbreak of Ebola Virus Diseases Using Euler and Fourth Order Runge-Kutta Method. American Scientific Research Journal for Engineering, Technology, and Sciences, 37, 1-21.</mixed-citation></ref><ref id="scirp.111124-ref7"><label>7</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Al-Shimmary</surname><given-names> A.F. </given-names></name>,<etal>et al</etal>. (<year>2017</year>)<article-title>Solving Initial Value Problem Using Runge-Kutta 6th Order Method</article-title><source> ARPN Journal of Engineering and Applied Sciences</source><volume> 12</volume>,<fpage> 3953</fpage>-<lpage>3961</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.111124-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">BaZezew, H. and Adamu, G. (2019) Numerical Solution of Second Order Initial Value Problems of Bratu-Type Equations Using Sixth Order Runge-Kutta Seven Stages Method. International Journal of Computing Science and Applied Mathematics, 5, 10-14.  
https://doi.org/10.12962/j24775401.v5i1.3806</mixed-citation></ref><ref id="scirp.111124-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Huta, A. and Penjak, V. (1984) Contribution to Runge-Kutta formulas of the 7th Order with the Rational Coefficients for System of Differential Equations of the First Order. Aplikace Matematiky, 29, 411-422. https://doi.org/10.21136/AM.1984.104115</mixed-citation></ref><ref id="scirp.111124-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Aziz, M.M. and Merie, D.M. (2020) Stability and chaos with mathematical control of 4-d dynamical system. Indonesian Journal of Electrical Engineering and Computer Science, 20, 1242-1251. https://doi.org/10.11591/ijeecs.v20.i3.pp1242-1251</mixed-citation></ref><ref id="scirp.111124-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Gottwald, G.A. and Melbourne, I. (2009) On the Implementation of the 0-1 Test for Chaos. SIAM Journal on Applied Dynamical Systems, 8, 129-145.  
https://doi.org/10.1137/080718851</mixed-citation></ref><ref id="scirp.111124-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Aziz, M.M. and Hamid, M. (2019) The Possibility of Increasing The Predictability Indices After Control of 3D-Continuous-Time System. 2019 International Conference on Computing and Information Science and Technology and Their Applications (ICCISTA), Kirkuk, Iraq, 3-5 March 2019, 1-5.  
https://doi.org/10.1109/ICCISTA.2019.8830650</mixed-citation></ref><ref id="scirp.111124-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Wontchui, T.T. and Effa, J.Y. (2017) Henri Paul Ekobena Fouda, Jean Sire Armand Eyebe Fouda, Dynamical Behavior of Peter-De-Jong Map Using the Modified (0-1) and 3ST Tests for Chaos. Annual Review of Chaos Theory, Bifurcations and Dynamical Systems, 7, 1-21.</mixed-citation></ref><ref id="scirp.111124-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Gopal, R., Venkatesan, A. and Lakshmanan, M. (2013) Applicability of 0-1 Test for Strange Non-Chaotic Attractors. Chaos: An Interdisciplinary Journal of Nonlinear Science, 23, Article No. 023123. https://doi.org/10.1063/1.4808254</mixed-citation></ref><ref id="scirp.111124-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Aziz, M.M. and Faraj, M.N. (2015) Difficulty of Predicting Earthquakes in Mosul Dam. International Journal of Technical Research and Applications, 3, 29-36.</mixed-citation></ref><ref id="scirp.111124-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Aziz, M.M. and Faraj, M.N. (2012) Numerical and Chaotic Analysis of Chua’s Circuit. Journal of Emerging Trends in Computing and Information Sciences, 3, 783-791.</mixed-citation></ref></ref-list></back></article>