Abstract

In this study, a novel second-order prediction differential model is designed, and numerical solutions of this novel model are presented using the integrated strength of the Adams and explicit Runge–Kutta schemes. The idea of the present study comes to the mind to see the importance of delay differential equations. For verification of the novel designed model, four different examples of the designed model are numerically solved by applying the Adams and explicit Runge–Kutta schemes. These obtained numerical results have been compared with the exact solutions of each example that indicate the performance and exactness of the designed model. Moreover, the results of the designed model have been presented numerically and graphically.

1. Introduction

The historical delay differential equations (DDEs) are applied in the pioneer work of Newton and Leibnitz in the last years of the 16th century. To understand the worth and importance of the DDEs, one can see their extensive and wide-ranging applications in the field of scientific wonders. Few mentioned applications are population dynamics, economical systems, engineering systems, transports, and communication models [14]. Many researchers worked to solve DDEs in different years, e.g., Kondorse studied DDEs in the seventh decade of the 17th century, but properly used the applications of DDEs in the 19th century. Kuang [2] and Hale and LaSalle [5] presented the detailed theory, solution schemes, and applications of DDEs. Perko [6] studied linear/nonlinear differential models for the dynamical system and configuration. Beretta and Kuang [7] worked on the geometric constancy of DDEs with the constraints of delay values. Frazier [8] explained the DDEs of the second kind by applying the wavelet Galerkin scheme. Rangkuti and Noorani [9] established the exact solution of DDEs by applying the iterative method named as a coupled variation scheme with the support of the Taylor series method. Chapra [10] discussed the scheme of Runge–Kutta for solving both types of differential delay and nondelay models. Adel and Sabir [11] presented the numerical solutions of a nonlinear second-order Lane–Emden pantograph delay differential model via the Bernoulli collocation method. Sabir et al. [12, 13] solved the nonlinear functional differential models of second and third order. Erdogan et al. [14] applied the finite difference method on a layer-adapted mesh for singularly perturbed DDEs. Some more details of DDEs are provided in references [1520]. The literature form of the second-order DDE is given as follows [21]:where is used for the initial condition and is the delayed term in the abovementioned equation. It is clear in understanding that the appearance of this term in any differential equation shows the DDE that means to subtract some values from time. The question arises here when we add some values in time then what happens, i.e., . This clearly indicates the prediction and aim of the present work is related to design a new model based on the prediction differential equation. The general form of the new second-order prediction differential model along with initial conditions is presented aswhere is used as a prediction term in equation (2). This prediction differential model can be used to forecast the weather, transport, engineering, stock markets, technology, biological models, astrophysics, and many more. Moreover, the obtained numerical results from both of the schemes have been compared with the exact solution to verify the correctness and exactness of the designed model presented in equation (2).

Some salient features of the designed model are given as follows:(i)The novel prediction model is successfully designed by considering the worth of the delay differential model(ii)For verification of the designed model, the obtained numerical results have been compared with the exact solutions(iii)Easily comprehensible procedures with effortless implementation, conserved accuracy in close locality of the input interval, broader, and extendibility applicability are other considerable advantages.

The remaining parts of the paper are organized as follows. Section 2 shows the designed methodology. Section 3 represents the detailed results. The conclusions and future research directions of the present study are provided in the last section.

2. Methodology

In the present study, the strength of predictor-corrector Adams technique [22, 23] and explicit Runge–Kutta numerical technique [24, 25] is exploited to solve the second-order prediction differential model.

2.1. Predictor-Corrector Adams Numerical Scheme

To find the numerical solutions of the novel designed prediction differential model, the predictor-corrector numerical technique is applied, which takes further two steps to complete.Step 1: the approximate measures of prediction are accomplishedStep 2: to find if the numerical solutions of correction are capable with the similar contributions of prediction.

The generalized Adams–Bashforth two-step numerical scheme using the predictor-corrector techniques is given as

The Adams-Moulton two-step corrector scheme is shown as follows:

The 4-step predictor-corrector scheme is provided as follows:

The Adams–Bashforth–Moulton 4-step scheme is written as follows:

2.2. Explicit Runge–Kutta Numerical Scheme

The explicit Runge–Kutta scheme is applied to solve the novel designed second-order prediction model. The general form of the explicit Runge–Kutta scheme is considered as

The first step is to consider the obtained initial results, and slopes for all variables are predictable. These attained numerical conclusions for slopes (the) at the middle point of the interval domain are taken to make the dependent variable designs, while in the second phase, the slopes of the central point (the) are obtained by using these accomplished values based on the middle points. The calculated numerical values for slopes are twisted back using the first point of the other set of central point values that are instigated for the new slope of predictions at the central point (the). These numerical calculated values are complementary functional to make the predictions to develop the slopes at the ending point of the interval domain (the). Similarly, all the numerical values for are accomplished to make an additional set of growth functions and, finally, take the initial point to make the last prediction.

3. Simulations and Results

In this section of the study, the prediction differential model presented in equation (2) is solved by using the four numerical examples based on the predictor-corrector Adams technique and explicit Runge–Kutta method. Furthermore, the obtained numerical results using both the schemes have been compared with the exact solutions of each example.

Example 1. Consider the second-order prediction differential equation along with the initial conditions given as follows:The exact solution of equation (9) is .

Example 2. Consider the second-order prediction differential equation along with boundary conditions given as follows:The exact solution of equation (10) is .

Example 3. Consider the second-order prediction differential equation involving trigonometric functions along with initial conditions given as follows:The exact solution of equation (11) is .

Example 4. Consider the second-order prediction differential equation along with initial conditions given as follows:The exact solution of equation (12) is .
It is clearly seen that the prediction term is involved in the form of , in Examples 1 and 2, respectively. The prediction terms are involved four times in Example 3, i.e., , , , and . Moreover, the prediction terms appeared twice in Example 4, i.e., and .
The graphic illustration based on the numerical results for all four examples is provided in Figure 1. The explicit Runge–Kutta scheme is used to find the graphical values for all the examples. The plots of Figures 1(a) to 1(d) are based on Examples 1 to 4. Figure 1(a) is plotted in the domain of [0, 30], and the results are found to be positive in all intervals. The plots of Figure 1(b) are plotted in the domain of [0, 3]. The results represent positive values in most of the intervals. However, negative values have been noticed in the subinterval [1, 2]. Figures 1(c) and 1(d) are plotted in the domain of [0, ] and [0, 1], respectively. It is noticed in the table that positive results have seen in both Examples 3 and 4. For comparison of the results, the plots of exact and numerical solutions have been drawn in Figure 2. The overlapping of the results shows the exactness and accurateness of the designed model. For more clear results of all the examples, the numerical results of exact solutions and the predictor-corrector Adams numerical scheme are tabulated in Tables 1 and 2. The comparison of the Adams numerical results and exact solutions are same up to a higher level.

4. Conclusions

The present study is carried out to design a novel second-order prediction differential model by manipulating the strength of the Adams numerical scheme and explicit Runge–Kutta scheme. The designed novel prediction differential model will be very useful and can be applied in many applications. Four different variants of the designed model have been solved by using the Adams and Runge–Kutta schemes and compared the obtained numerical results with the exact solutions. The overlapping of the exact and numerical reference solutions show the worth and accuracy of the novel designed prediction differential model. It is clear in understanding that the proposed methods are valuable and suitable for solving the second-order prediction differential model due to accurate results for all the examples of the second-order prediction differential model. For solving all four examples, the proposed Adams and explicit Runge–Kutta schemes are found to be very good in terms of accuracy and convergence. Software used for solving the prediction differential model is MATLAB R 2017(a) package and Mathematica 10.4.

In future, the nonlinear prediction Lane–Emden model and nonlinear prey-predator singular prediction model can be designed and solved via an artificial neural network [2633].

Data Availability

Our manuscript is not data-based.

Conflicts of Interest

The authors declare that they have no conflicts of interest.