An Eight Order Two-Step Taylor Series Algorithm for the Numerical Solutions of Initial Value Problems of Second Order Ordinary Differential Equations

Abstract

Our focus is the development and implementation of a new two-step hybrid method for the direct solution of general second order ordinary differential equation. Power series is adopted as the basis function in the development of the method and the arising differential system of equations is collocated at all grid and off-grid points. The resulting equation is interpolated at selected points. We then analyzed the resulting scheme for its basic properties. Numerical examples were taken to illustrate the efficiency of the method. The results obtained converge closely with the exact solutions.

Share and Cite:

Owolanke, A. , Uwaheren, O. and Obarhua, F. (2017) An Eight Order Two-Step Taylor Series Algorithm for the Numerical Solutions of Initial Value Problems of Second Order Ordinary Differential Equations. Open Access Library Journal, 4, 1-9. doi: 10.4236/oalib.1103486. 1. Introduction

We consider the numerical solution of initial value problem of the form:

${y}^{″}=f\left(x,y,{y}^{\prime }\right);y\left(a\right)=y\left(0\right);{y}^{\prime }\left(a\right)=\gamma$ (1)

In practice, higher order ordinary differential equations of this form ${y}^{n}=f\left(x,{y}^{\prime },{y}^{″},\cdots ,{y}^{n-1}\right)$ , is solved by reducing it to systems of first order differential equation of the form:

${y}^{\prime }=f\left(x,y\right),\text{\hspace{0.17em}}y\left(a\right)=0,\text{\hspace{0.17em}}f\in c\left[a,b\right],x,y\in {ℝ}^{n}$ (2)

then an approximate method is applied to solve the resulting Equation (2) as widely discussed by Fatunla  and Lambert  and Spiegel  . The approach does not utilize additional information associated with the specific ordinary differential equation, and consequently, the oscillatory nature of the solution of the differential equation is always neglected. Thus, it would be more efficient to improve on the numerical method so that higher order ordinary differential equations could be solved without having to reduce to systems of first order as suggested by Chakravati and Worland  , Dahlquist  , sharp and Fine  , and Bun and Vasilsyer  . Actually, considerable attention has been devoted to solving ordinary differential equation of higher order directly without reduction for instance: methods of linear multistep method (LMM) were considered by Lambert and Watson  , Dormand and El-Mikkawy  , El-Mikkawy and El- Desouky  and Awoyemi     . Subsequently, LMM was independently proposed by Kayode  , Onumanyi et al.  and Adesanya et al.  in the predictor-corrector mode, based on collocation method. These authors proposed LMM with continuous coefficients where they adopted Taylor series algorithm to supply the starting values. Also, some notable scholars improve on the predictor-corrector method for solving ordinary differential equations of higher orders, for instance, Jator and Li  proposed five-step and four-step methods respectively in which they adopted a continuous LMM to obtain finite difference method. Moreover, Adesanya  adopted a method of collocation and interpolation to develop a continuous LMM which is evaluated at different grid points to give discret methods that generate independent solutions. Others that adopted block methods include Badmus and Yahaya  . One of the advantages of the method is that it provides direct solution of implicit Linear multistep method without developing separate predictors.

Although some of the aforementioned authors have made use of Taylor series, but little has been said with the use of Taylor series as a major method of implementation. So, Our idea is to use Taylor series algorithm to evaluate

${y}_{n+j},{{y}^{\prime }}_{n+j},j=1,2$ and ${y}_{n+v},{{y}^{\prime }}_{n+v},v=\frac{1}{2},\frac{1}{3},\frac{2}{3},\frac{3}{2},\cdots$ and calculate ${f}^{\prime }$ , ${f}^{″}$ by the

use partial derivative technique. Thus, two-step hybrid methods in the Taylor series mode are developed to solve second order ordinary differential equations directly.

2. Derivation

In this section, power series is considered as an approximate solution to the general second order problems:

$f\left(x,y,{y}^{\prime },{y}^{″}\right)=0;y\left(a\right)=y\left(0\right);{y}^{\prime }\left(a\right)=\gamma$ (3)

of the form:

$y\left(x\right)=\underset{j=0}{\overset{2k+1}{\sum }}\text{ }\text{ }{a}_{j}{x}^{j}$ (4)

The first and second derivative of (3) are respectively given as:

${y}^{\prime }\left(x\right)=\underset{j=1}{\overset{2k+1}{\sum }}\text{ }\text{ }j{a}_{j}{x}^{j-1}$ (5)

${y}^{″}=\underset{j=2}{\overset{2k+1}{\sum }}\text{ }j\left(j-1\right){a}_{j}{x}^{j-2}$ (6)

Combining (2) and (5), we generate the differential system

$\underset{j=2}{\overset{2k+1}{\sum }}\text{ }\text{ }j\left(j-1\right){a}_{j}{x}^{j-2}=f\left(x,y,{y}^{\prime }\right),$ (7)

we develop the hybrid scheme using (3) and (5) as interpolation and collocation equations in this work.

Collocating (6) at selected grid and off-grid points, $x={x}_{n+1},0\le i\le 2$ and interpolating (3) at selected grid and off-grid points, it results into a system of equations:

$\underset{j=2}{\overset{2k+1}{\sum }}\text{ }j\left(j-1\right){a}_{j}{x}^{j-2}={f}_{n+i},\text{\hspace{0.17em}}0\le i\le 2$ (8)

$\underset{j=2}{\overset{2k+1}{\sum }}{a}_{j}{x}^{j}={y}_{n+i},\text{\hspace{0.17em}}0\le i\le 2$ (9)

where, ${x}_{n+i}={x}_{n}+ih$ , solving Equations ((7) and (8)), ${{a}^{\prime }}_{j}s$ , yield a method ex-

pressed in the form:

${y}_{k}\left(x\right)=\underset{j=0}{\overset{k}{\sum }}\text{ }\text{ }{\alpha }_{j}\left(x\right){y}_{n+j}+\underset{j=0}{\overset{k}{\sum }}\text{ }\text{ }{\beta }_{j}\left(x\right){f}_{n+j},$ (10)

where $k=2$ and ${f}_{n+j}=f\left({x}_{n+j},{y}_{n+j},{{y}^{\prime }}_{n+j}\right),0\le 2$

It implies

${a}_{0}+{a}_{1}{x}_{n}+{a}_{2}{x}_{n}^{2}+{a}_{3}{x}_{n}^{3}+{a}_{4}{x}_{n}^{4}+{a}_{5}{x}_{n}^{5}+{a}_{6}{x}_{n}^{6}+{a}_{7}{x}_{n}^{7}+{a}_{8}{x}_{n}^{8}={y}_{n}$ (11)

${a}_{0}+{a}_{1}{x}_{n+1}+{a}_{2}{x}_{n+1}^{2}+{a}_{3}{x}_{n+1}^{3}+{a}_{4}{x}_{n+1}^{4}+{a}_{5}{x}_{n+1}^{5}+{a}_{6}{x}_{n+1}^{6}+{a}_{7}{x}_{n+1}^{7}+{a}_{8}{x}_{n+1}^{8}={y}_{n+1}$ (12)

$2{a}_{2}+6{a}_{3}{x}_{n}+12{a}_{4}{x}_{n}^{2}+20{a}_{5}{x}_{n}^{3}+30{a}_{6}{x}_{n}^{4}+42{a}_{7}{x}_{n}^{5}+56{a}_{8}{x}_{n}^{6}={f}_{n}$ (13)

$2{a}_{2}+6{a}_{3}{x}_{n+\frac{1}{3}}+12{a}_{4}{x}_{n+\frac{1}{3}}^{2}+20{a}_{5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}_{n+2}^{6}\end{array}\right)\left(\begin{array}{c}{a}_{0}\\ {a}_{1}\\ {a}_{2}\\ {a}_{3}\\ {a}_{4}\\ {a}_{5}\\ {a}_{6}\\ {a}_{7}\\ {a}_{8}\end{array}\right)=\left(\begin{array}{c}{y}_{n}\\ {y}_{n+1}\\ {f}_{n}\\ {f}_{n+1/3}\\ {f}_{n+2/3}\\ {f}_{n+1}\\ {f}_{n+4/3}\\ {f}_{n+5/3}\\ {f}_{n+2}\end{array}\right)$ (20)

Using Gaussian elimination method, the unknown coefficients ${{a}^{\prime }}_{j}s$ can be obtained. Putting ${{a}^{\prime }}_{j}s$ back into (3) gives (10):

The coefficients ${\alpha }_{{i}^{\prime }s}\left(t\right)$ , ${\beta }_{{j}^{\prime }s}\left(t\right)$ are continuous coefficients obtained using the transformation $t=\frac{1}{h}\left(x-{x}_{n+k-1}\right)$ , $t\in \left(0,1\right]$

$\frac{\text{d}t}{\text{d}x}=\frac{1}{h}.$

Then simplifying the continuous ${\alpha }_{{j}^{\prime }s}$ , ${\beta }_{{j}^{\prime }s}$ , and taking their first derivatives, we have:

${\alpha }_{0}{\left(t\right)}^{\prime }=-\frac{1}{h}$ ,

${\alpha }_{1}{\left(t\right)}^{\prime }=-\frac{1}{h}$ ,

${\beta }_{0}{\left(t\right)}^{\prime }=\frac{47h}{13440}$ ,

${\beta }_{\frac{1}{3}}{\left(t\right)}^{\prime }=\frac{327h}{2240}$ ,

${\beta }_{\frac{2}{3}}{\left(t\right)}^{\prime }=\frac{111h}{890}$ ,

${\beta }_{1}{\left(t\right)}^{\prime }=\frac{1088h}{3360}$ ,

${\beta }_{\frac{4}{3}}{\left(t\right)}^{\prime }=\frac{93h}{640}$ ,

${\beta }_{\frac{5}{3}}{\left(t\right)}^{\prime }=\frac{1095h}{2240}$ ,

${\beta }_{2}{\left(t\right)}^{\prime }=\frac{1359h}{13440}$ .

Then, putting $t=1$ gives:

$\begin{array}{c}{y}_{n+2}=2{y}_{n+1}+{y}_{n}+\frac{{h}^{2}}{6720}\left\{47{f}_{n+2}+810{f}_{n+\frac{5}{3}}+1377{f}_{n+\frac{4}{3}}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+2252{f}_{n+1}+1377{f}_{n+\frac{2}{3}}+810{f}_{n+\frac{1}{3}}+857{f}_{n}\right\}\end{array}$ (21)

its first derivative

$\begin{array}{c}{{y}^{\prime }}_{n+2}=\frac{1}{h}\left[{y}_{n+1}-{y}_{n}\right]+\frac{{h}^{2}}{6720}\left\{1359{f}_{n+2}+6570{f}_{n+\frac{5}{3}}+1953{f}_{n+\frac{4}{3}}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+4352{f}_{n+1}+1665{f}_{n+\frac{2}{3}}+1962{f}_{n+\frac{1}{3}}+47{f}_{n}\right\}\end{array}$ (22)

with the order $p=8$ , error constant ${C}_{10}=-0.0069941$ , and interval of absolute stability $X\left(\Theta \right)=\left(-14.1608,0\right)$ Implementation of the method using Taylor series algorithm to evaluate

${y}_{n+j},{{y}^{\prime }}_{n+j},{y}_{n+v},{{y}^{\prime }}_{n+v},{f}_{n+v},{f}_{n+j}$ ,

where, ${j}^{\prime }s=1,2$ and ${v}^{\prime }s=\frac{1}{3},\frac{2}{3},\frac{4}{3},\frac{5}{3}$ and,

${f}_{n+v}=f\left({x}_{n+v},{y}_{n+v},{{y}^{\prime }}_{n+v}\right),$

such that

${y}_{n+v}={y}_{n}+vh{{y}^{\prime }}_{n}+\frac{{\left(vh\right)}^{2}}{2!}{f}_{n}+\frac{{\left(vh\right)}^{3}}{3!}{{f}^{\prime }}_{n}+\frac{{\left(vh\right)}^{4}}{4!}{{f}^{″}}_{n}+\cdots$ (23)

and,

${{y}^{\prime }}_{n+v}={{y}^{\prime }}_{n}+vh{f}_{n}+\frac{{\left(vh\right)}^{2}}{2!}{{f}^{\prime }}_{n}+\frac{{\left(vh\right)}^{3}}{3!}{{f}^{″}}_{n}+\frac{{\left(vh\right)}^{4}}{4!}{{f}^{‴}}_{n}+\cdots$ (24)

Also,

${f}_{n+j}={y}^{″}\left({x}_{n}+jh\right)={f}_{n}+jh{{f}^{\prime }}_{n}+\frac{{\left(jh\right)}^{2}}{2!}{{f}^{″}}_{n}+\cdots$ (25)

${f}_{n}=f\left({x}_{n},{y}_{n},{{y}^{\prime }}_{n}\right)$

${f}^{\left(i\right)}={f}^{\left(i\right)}\left({x}_{n},{y}_{n},{{y}^{\prime }}_{n}\right),i=1,2$

Finding the partial derivative ${f}^{\prime },{f}^{″},\cdots$ as follows

$\frac{\text{d}f}{\text{d}x}={f}^{\prime }=\frac{\delta f}{\delta x}+\frac{\delta f}{\delta x}{y}^{\prime }+\frac{\delta f}{\delta {y}^{\prime }}f$ (26)

${f}^{″}=\frac{{\text{d}}^{2}f}{\text{d}{x}^{2}}=2\left(A{y}^{\prime }+Bf\right)+Cf{y}^{\prime }+D+E,$ (27)

where,

$A=\frac{{\partial }^{2}f}{\partial x\partial y}+f\frac{{\partial }^{2}f}{\partial y\partial {y}^{\prime }}$ (28)

$B=\frac{{\partial }^{2}f}{\partial x\partial {y}^{\prime }}$ (29)

$C=\frac{\partial f}{\partial x}+{y}^{\prime }\frac{\partial f}{\partial y}+f\frac{\partial f}{\partial {y}^{\prime }}$ (30)

$D=\frac{{\partial }^{2}f}{\partial {x}^{2}}+{\left({y}^{\prime }\right)}^{2}\frac{{\partial }^{2}f}{\partial {y}^{2}}+{f}^{2}\frac{{\partial }^{2}f}{\partial {\left({y}^{\prime }\right)}^{2}}$ (31)

$E=f\frac{\partial f}{\partial y}$ (32)

2.1. Analysis of the Properties of the Scheme

We shall consider the analysis of the basic properties of our methods which includes the order, the region of absolute stability and the zero stability of the methods.

2.2. Order of Accuracy of the Method

The local truncation error with k-step linear multistep m method which is in line with Lambert (1973), is taken to be linear difference operator $\mathcal{l}$ defined by

$\mathcal{l}\left[y\left(x\right);h\right]=\underset{j=0}{\overset{k}{\sum }}\left[{\alpha }_{j}y\left({x}_{n}+j\right)-h{\beta }_{j}y\left({x}_{n}+j\right)\right]$ (33)

Thus, expanding (21) as Taylor series about point x and comparing coefficients of ${h}^{k}$ , the scheme will be of order $p=8$ with error constant ${C}_{p+2}=-0.0069941$

$L\left[y\left(x\right),h\right]={C}_{0}y\left({x}_{n}\right)+{C}_{1}{y}^{\prime }\left({x}_{n}\right)+{C}_{2}{y}^{″}\left({x}_{n}\right)+\cdots +{C}_{p}{y}^{p}\left({x}_{n}\right),$ (34)

where ${C}_{p},p=0,1,\cdots$ are the constant coefficients given as:

$\begin{array}{l}{C}_{0}=\underset{j=0}{\overset{k}{\sum }}\text{ }\text{ }\text{ }{\alpha }_{j}\\ {C}_{1}=\underset{j=0}{\overset{k}{\sum }}\text{ }\text{ }j{\alpha }_{j}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}\\ {C}_{p}=\frac{1}{p!}\left[\underset{j=0}{\overset{k}{\sum }}\text{ }\text{ }j{\alpha }_{j}-p\left(p-1\right)\left(\underset{j=0}{\overset{k}{\sum }}\text{ }\text{ }{j}^{p-1}{\beta }_{j}+\underset{j=0}{\overset{k}{\sum }}\text{ }\text{ }{q}^{p-1}{\beta }_{qj}\right)\right]\end{array}\right\}$ (35)

In line with  , k-step, linear multistep (21) has order p if ${C}_{0}={C}_{1}=\cdots ={C}_{p-1}={C}_{p}$ and ${C}_{p+1}\ne 0$ , where, ${C}_{p+1}\ne 0$ is the error constant. Subjecting our schemes to equations 35, it is therefore established that linear multistep scheme is of order $p=8$ , relatively small error constant −0.0069941.

2.3. Consistency of the Scheme

A linear multistep method is consistent if the following conditions are satisfied:

1) The order $p\ge 1$ .

2) $p\left(1\right)=0,{p}^{\prime }\left(1\right)=\sigma \left(1\right)$ .

3) ${\sum }_{j=0}^{k}\text{ }\text{ }{\alpha }_{j}=0$ .

4) ${\sum }_{j=0}^{k}\text{ }\text{ }j{\alpha }_{j}={\sum }_{j=0}^{k}\text{ }\text{ }{\beta }_{j}$ .

2.4. Zero Stability of the Method

Equation (21) has its first characteristic polynomial to be:

$\rho \left(r\right)={r}^{2}-2r+1$ (36)

The method is zero stable since they have roots $r=1$ twice.

2.5. Region of Absolute Stability of the Method

In order to establish the region of absolute stability, we apply the boundary locus method as in  . The method implies that

$\theta =\frac{\rho \left(r\right)}{\delta \left( r \right)}$

where,

$r={\text{e}}^{i\theta }=\mathrm{cos}\left(\theta \right)+i\mathrm{sin}\left( \theta \right)$

From scheme (21), we have: $\rho \left(r\right)={r}^{2}-2r+1$

and

$\sigma \left(r\right)=\frac{1}{6720}\left[47{r}^{2}+810{r}^{\frac{5}{3}}+1377{r}^{\frac{4}{3}}+2252r+1377{r}^{\frac{2}{3}}+810{r}^{\frac{1}{3}}+857\right]$

so that

$h\left(\theta \right)=\frac{\rho \left({\text{e}}^{i\theta }\right)}{\delta \left({\text{e}}^{i\theta }\right)}$

which implies

$h\left(\theta \right)=\frac{1}{6720}\left[47{r}^{2}+810{r}^{\frac{5}{3}}+1377{r}^{\frac{4}{3}}+2252r+1377{r}^{\frac{2}{3}}+810{r}^{\frac{1}{3}}+857\right]$ (37)

$\begin{array}{c}h\left(\theta \right)=\left[\mathrm{cos}\left(2\theta \right)+i\mathrm{sin}\left(2\theta \right)-2\mathrm{cos}\left(\theta \right)-2i\mathrm{sin}\left(\theta \right)+1\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}×6720\left(47\mathrm{cos}\left(2\theta \right)+47i\mathrm{sin}\left(2\theta \right)+810\mathrm{cos}\left(\frac{5\theta }{3}\right)+810i\mathrm{sin}\left(\frac{5\theta }{3}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+1377\mathrm{cos}\left(\frac{4\theta }{3}\right)+1377i\mathrm{sin}\left(\frac{4\theta }{3}\right)+2252\mathrm{cos}\left(\theta \right)+2252i\mathrm{sin}\left(\theta \right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+1377\mathrm{cos}\left(\frac{2\theta }{3}\right)+{1377i\mathrm{sin}\left(\frac{2\theta }{3}\right)+810\mathrm{cos}\left(\frac{2\theta }{3}\right)+810i\mathrm{sin}\left(\frac{2\theta }{3}\right)+47\right)}^{-1}\end{array}$

Considering the values of $\theta$ for $0\le \theta \le 180$ at intervals of ${30}^{\theta }$ gives the region of absolute stability to be $\left(-14.1608,0\right).$

3. Numerical Experiments

We test the accuracy of the proposed scheme on some numerical problems, and the results are compared with existing methods.

Problem 1:

${y}^{″}=x{\left({y}^{\prime }\right)}^{2},y\left(0\right)=1,{y}^{\prime }\left(0\right)=0.5,h=\frac{0.1}{32}$ (38)

Exact solution

$y\left(x\right)=1+\frac{1}{2}{\mathrm{log}}_{10}\left(\frac{2+x}{2-x}\right)$

The numerical results of the problem is shown in Table 1, and is compared with Awoyemi and kayode (2005) of order 8 in Table 2.

Problem 2:

${y}^{″}=\left(-6/x\right){y}^{\prime }-\left(4/{\left(x\right)}^{2}\right)y,\text{\hspace{0.17em}}y\left(1\right)=1,\text{\hspace{0.17em}}{y}^{\prime }\left(1\right)=1,\text{\hspace{0.17em}}h=120$ (39)

Table 1. Results and errors for problem (1).

Table 2. Results and errors for problem (2).

Note: YEX = Yexact, YC = Ycomputed, ERRNew = Error in new method.

Exact solution

$y\left(x\right)=1-{\text{e}}^{x}$

The numerical results of the problem is shown in Table 2.

4. Conclusion

A Linear Multistep method which implements a Taylor’s series algorithm is developed for the direct solution of general second order initial value problems of

ordinary differential equations without reduction to systems of first order differential equation. The derivatives of continuous scheme to any order were computed implementing Taylor’s series algorithm. The accuracy of the method was tested with two test problems, and results were compared with Awoyemi and Kayode  of order (8).

Conflicts of Interest

The authors declare no conflicts of interest.

  Fatunla, S.O. (1988) Numerical Methods for Initial Value Problems for Ordinary Differential Equations. Academy Press, New York, 295.  Lambert J.D. (1973) Computational Methods in Ordinary Differential Equations. John Wiley and Sons, New York, 278.  Murray, S.R. (1971) Theory and Problems of Advance Mathematics for Engineers and Scientist. Mc Graw Hill, Inc., New York.  Chakravati, P.C. and Worland, P.B. (1971) A Class of Self Starting Methods for the Numerical Solution of Ordinary Differential Equation. BIT, 11, 368-383. https://doi.org/10.1007/BF01939405  Dahlquist, G. (1959) Convergence and Stability in the Numerical Integration of Ordinary Differential Equation. Mathematics Scandinavia, 4, 33-53. https://doi.org/10.7146/math.scand.a-10454  Sharp and Fine (1992) Some Nystrom Pairs for the General Second Order Value Problem. Journal of Computation and Applied Mathematics, 42, 279-291. https://doi.org/10.1016/0377-0427(92)90081-8  Bun, R.A. and Vasilsyer, Y.D. (1990) A Numerical Methods for Solving Differential Equations of Any Order. Computational Mathematics and Mathematical Physics, 32, 317-330.  Lambert, J.D. and Wastson, A. (1976) Symmetric Multistep Method for Periodic Initial Value Problem. Journal of the Institute of Mathematics Application, 18, 189- 202. https://doi.org/10.1093/imamat/18.2.189  Dormand, J.R., El-Mikkawy, M.E.A. and Prince, P.J. (2003) Families of Runge Kutta Nystrom Formula, IMA. Journal of Numerical Analysis, 7, 235-250. https://doi.org/10.1093/imanum/7.2.235  El-Mikkawy, M.E. and El-Desouky, R. (2003) A New Optimized Non FSAL Embedded Runge-Kutta-Nystrom Algorithms of Order 6 and 4 in Six Stages. Applied Mathematics and Computation, 145, 33-43. https://doi.org/10.1016/S0096-3003(02)00436-8  Awoyemi, D.O. and Kayode, S.J. (2005) A Maxima Order Collocation Method for Initial Value Problems of General Second Order Ordinary Differential Equation. Proceeding of the Conference Organized by the National Mathematical Center, Abuja.  Awoyemi, D.O. (1999) A Class of Continuous Method for General Second Order Initial Value Problems in Ordinary Differential Equations. International Journal of Computer Mathematics, 72, 29-37. https://doi.org/10.1080/00207169908804832  Awoyemi, D.O. (2001) A New Sixth Order Algorithms for General Second Order Ordinary Differential Equation. International Journal of Computer Mathematics, 77, 117-124. https://doi.org/10.1080/00207160108805054  Awoyemi, D.O. (2005) An Algorithm Collocation Methods for Direct Solution of Special and General Fourth Order Initial Value Problems of Ordinary Differential Equation. Journal of Nigerian Association of Mathematical Physics, 6, 271-238.  Kayode, S.J. (2009) An Order Zero Stable Method for Direct Solution of Fourth Order Ordinary Differential Equation. American Journal of Applied Sciences, 5, 1461-1466.  Onumanyi, P., Sirisons, U.W. and Dauda, Y. (2001) Toward Uniformly Accurate Continuous Finite Difference Approximation of Ordinary Differential Equation. Bayero Journal of Pure and Applied Sciences, 1, 5-8.  Adesanya, A.O., Anake, T.A. and Udoh, M.O. (2008) Improved Continuous Method for Direct Solution of General Second Order Ordinary Differential Equation. Journal of Nigeria Association of Mathematical Physics, 13, 59-62.  Jator, S.N. and Li, J. (2009) A Self Stationary Linear Multistep Method for a Direct Solution of General Second Order Initial Value Problem. International Journal of Computer Mathematics, 86, 817-1165.  Adesanya, A.O. (2011) Block Methods for Direct Solution of General Higher Order Initial Value Problem of Ordinary Differential Equations. PhD Thesis, Federal University of Technology, Akure.  Badmus, A.M. and Yahaya, Y.A. (2009) An Accurate Uniform Order 6 Block Method for Direct Solution of General Second Order Ordinary Differential Equations. The Pacific Journal of Science and Technology, 10, 273-277.     +1 323-425-8868 customer@scirp.org +86 18163351462(WhatsApp) 1655362766  Paper Publishing WeChat 