A New Embedded Phase-Fitted Modified Runge-Kutta Method for the Numerical Solution of Oscillatory Problems

Similar documents
Embedded Explicit Two-Step Runge-Kutta-Nyström for Solving Special Second-Order IVPs

Embedded 5(4) Pair Trigonometrically-Fitted Two Derivative Runge- Kutta Method with FSAL Property for Numerical Solution of Oscillatory Problems

A NEW INTEGRATOR FOR SPECIAL THIRD ORDER DIFFERENTIAL EQUATIONS WITH APPLICATION TO THIN FILM FLOW PROBLEM

Exponentially-Fitted Runge-Kutta Nystrom Method of Order Three for Solving Oscillatory Problems ABSTRACT 1. INTRODUCTION

Two Optimized Runge-Kutta Methods for the Solution of the Schrödinger Equation

Research Article P-Stable Higher Derivative Methods with Minimal Phase-Lag for Solving Second Order Differential Equations

A Modified Runge-Kutta-Nyström Method by using Phase Lag Properties for the Numerical Solution of Orbital Problems

Adebayo O. Adeniran1, Saheed O. Akindeinde2 and Babatunde S. Ogundare2 * Contents. 1. Introduction

Improved Extended Runge-Kutta-like Method for Solving First Order IVPs

arxiv: v1 [math.na] 15 Nov 2008

arxiv: v1 [math.na] 31 Oct 2016

Fourth-order symplectic exponentially-fitted modified Runge-Kutta methods of the Gauss type: a review

Generalized RK Integrators for Solving Ordinary Differential Equations: A Survey & Comparison Study

Research Article Diagonally Implicit Block Backward Differentiation Formulas for Solving Ordinary Differential Equations

Symplectic Runge-Kutta-Nyström Methods with Phase-Lag Oder 8 and Infinity

An Embedded Fourth Order Method for Solving Structurally Partitioned Systems of Ordinary Differential Equations

Fifth-Order Improved Runge-Kutta Method With Reduced Number of Function Evaluations

On the reliability and stability of direct explicit Runge-Kutta integrators

Exponentially Fitted Symplectic Runge-Kutta-Nyström methods

A NOTE ON EXPLICIT THREE-DERIVATIVE RUNGE-KUTTA METHODS (ThDRK)

Direct Explicit Integrators of RK Type for Solving Special Fourth-Order Ordinary Differential Equations With An Application

Symplectic exponentially-fitted modified Runge-Kutta methods of the Gauss type: revisited

Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators

Remark on the Sensitivity of Simulated Solutions of the Nonlinear Dynamical System to the Used Numerical Method

Applied Math for Engineers

Starting Methods for Two-Step Runge Kutta Methods of Stage-Order 3 and Order 6

One-Step Hybrid Block Method with One Generalized Off-Step Points for Direct Solution of Second Order Ordinary Differential Equations

Sains Malaysiana 47(9)(2018):

Investigation on the Most Efficient Ways to Solve the Implicit Equations for Gauss Methods in the Constant Stepsize Setting

Trigonometrically tted predictor corrector methods for IVPs with oscillating solutions

A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations

On Nonlinear Methods for Stiff and Singular First Order Initial Value Problems

Runge Kutta Collocation Method for the Solution of First Order Ordinary Differential Equations

An Optimized Symmetric 8-Step Semi-Embedded Predictor-Corrector Method for IVPs with Oscillating Solutions

Z. Omar. Department of Mathematics School of Quantitative Sciences College of Art and Sciences Univeristi Utara Malaysia, Malaysia. Ra ft.

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations

A Study on Linear and Nonlinear Stiff Problems. Using Single-Term Haar Wavelet Series Technique

A Two-step Iterative Method Free from Derivative for Solving Nonlinear Equations

Deferred correction based on exponentially-fitted mono-implicit Runge-Kutta methods

Exact Solutions for a Fifth-Order Two-Mode KdV Equation with Variable Coefficients

Backward error analysis

Improved Starting Methods for Two-Step Runge Kutta Methods of Stage-Order p 3

EXAMPLE OF ONE-STEP METHOD

A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS

Research Article A Legendre Wavelet Spectral Collocation Method for Solving Oscillatory Initial Value Problems

On the classification of certain curves up to projective tranformations

An Implementation of QSAOR Iterative Method for Non-Homogeneous Helmholtz Equations

Linearization of Two Dimensional Complex-Linearizable Systems of Second Order Ordinary Differential Equations

A Family of Optimal Multipoint Root-Finding Methods Based on the Interpolating Polynomials

The family of Runge Kutta methods with two intermediate evaluations is defined by

P-stable Exponentially fitted Obrechkoff methods

Another Sixth-Order Iterative Method Free from Derivative for Solving Multiple Roots of a Nonlinear Equation

Construction and Implementation of Optimal 8 Step Linear Multistep

Explicit One-Step Methods

Fourth Order RK-Method

SYMMETRY REDUCTION AND NUMERICAL SOLUTION OF A THIRD-ORDER ODE FROM THIN FILM FLOW

Quadratic SDIRK pair for treating chemical reaction problems.

Adaptation of Taylor s Formula for Solving System of Differential Equations

Extended Runge Kutta-like formulae

Solving Homogeneous Systems with Sub-matrices

Geometric Numerical Integration

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

Exponential Integrators

Periodic and Soliton Solutions for a Generalized Two-Mode KdV-Burger s Type Equation

Symmetry Reduction of Chazy Equation

Butcher tableau Can summarize an s + 1 stage Runge Kutta method using a triangular grid of coefficients

Improvements in Newton-Rapshon Method for Nonlinear Equations Using Modified Adomian Decomposition Method

Downloaded 12/15/15 to Redistribution subject to SIAM license or copyright; see

Application of the perturbation iteration method to boundary layer type problems

On a Diophantine Equation 1

Solving Zhou Chaotic System Using Fourth-Order Runge-Kutta Method

Exact Solutions for the Nonlinear (2+1)-Dimensional Davey-Stewartson Equation Using the Generalized ( G. )-Expansion Method

The Solution of Weakly Nonlinear Oscillatory Problems with No Damping Using MAPLE

Mini project ODE, TANA22

ODE Runge-Kutta methods

On parallel solution of ordinary differential equations

Exponential Integrators

Do not turn over until you are told to do so by the Invigilator.

Exponentially Fitted Error Correction Methods for Solving Initial Value Problems

-Stable Second Derivative Block Multistep Formula for Stiff Initial Value Problems

Solution for a non-homogeneous Klein-Gordon Equation with 5th Degree Polynomial Forcing Function

Solution of First Order Initial Value Problem by Sixth Order Predictor Corrector Method

A Compact Fourth-Order Finite Difference Scheme for Unsteady Viscous Incompressible Flows

Graded Project #1. Part 1. Explicit Runge Kutta methods. Goals Differential Equations FMN130 Gustaf Söderlind and Carmen Arévalo

THREE- AND FOUR-STAGE IMPLICIT INTERVAL METHODS OF RUNGE-KUTTA TYPE

You may not use your books, notes; calculators are highly recommended.

An Efficient Multiscale Runge-Kutta Galerkin Method for Generalized Burgers-Huxley Equation

Distribution Solutions of Some PDEs Related to the Wave Equation and the Diamond Operator

Scientific Computing: An Introductory Survey

Research Article An Accurate Block Hybrid Collocation Method for Third Order Ordinary Differential Equations

Krylov Implicit Integration Factor Methods for Semilinear Fourth-Order Equations

The Generalized Viscosity Implicit Rules of Asymptotically Nonexpansive Mappings in Hilbert Spaces

Review Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester

Second Hankel Determinant Problem for a Certain Subclass of Univalent Functions

Poincaré`s Map in a Van der Pol Equation

Numerical Methods - Initial Value Problems for ODEs

A Note on Product Range of 3-by-3 Normal Matrices

Explicit Runge Kutta Pairs with Lower Stage-Order *

Parallel general linear methods for stiff ordinary differential and differential algebraic equations

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Transcription:

Applied Mathematical Sciences, Vol. 1, 16, no. 44, 157-178 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/1.1988/ams.16.64146 A New Embedded Phase-Fitted Modified Runge-Kutta Method for the Numerical Solution of Oscillatory Problems F. A. Fawzi Department of Mathematics, Universiti Putra Malaysia, 434 UPM Serdang Selangor, Malaysia & Department of Mathematics Faculty of Computer Science and Mathematics Tikrit University, Iraq N. Senu, F. Ismail and Z. A. Majid Department of Mathematics and Institute for Mathematical Research Universiti Putra Malaysia, 434 UPM Serdang Selangor, Malaysia Copyright c 16 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid. This article is distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Abstract In this work, a new way for constructing an efficiently modified Runge-Kutta (RK) method to solve first-order ordinary differential equations with oscillatory solutions is provided. The proposed method solves the first-order ODEs by first converting the second order ODEs to an equivalent first-order ODEs. The method of the embedded has algebraic orders five and four. The numerical results of the new method have been compared with those of existing methods and showed that the new method is more efficient. Mathematics Subject Classification: 65L5, 65L

158 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid Keywords: Embedded Runge Kutta Methods; Variable Step-size; Oscillatory Problems 1 Introduction The last few decades, a lot of research has been done in the area of numerical solution of first-order initial value problems of the form: where y (x) = f(x, y), y(x ) = y, y (x ) = y, x [a, b] (1) y(x) = [y 1 (x), y (x),..., y s (x)] T f(x, y) = [f 1 (x, y), f (x, y),..., f s (x, y)] T y is a given vector of initial condition and their solution is oscillating. This type of problem appears often in scientific areas such as astronomy, quantum mechanics, mechanics, and electronics. A lot of researches have been conducted for the construction of numerical methods that are both accurate and computationally efficient to solve the oscillatory problems. Moreover, they are a lot of numerical integration of adapting kind which is based on significant properties like exponentially-fitted, trigonometrically-fitted and phase-fitted [1-4]. Van de Vyver [5] presented an embedded phase-fitted modified RK method for the numerical solution of the Schrödinger equation. Fang et al. [6] constructed new embedded pair explicit RK methods with (FSAL) properties. Recently, Fang et al. [7] presented a new phase-fitted modified RK pair for the numerical solution of the radial Schrödinger equation. Simos and Vigo Aguiar [8] derived a modified RK method with phase-lag for the numerical solution of the Schrödinger equation. Also, they were concerned with phase-fitted in [9] based on the fifth - order method of Dormand and Prince. We used the phase-fitted technique to determine g. In [8, 9] the constant step size mode for phase-fitted modified Runge-Kutta methods have been used. Our purpose is to extend this technique for the development of variable step size algorithm. The aim of this paper is to develop a new efficient embedded phase-fitted modified Runge-Kutta method. In Section the preliminaries on the phase properties of the explicit modified RK method is discussed. In Section 3 we construct the new pair of explicit modified Runge-Kutta method and the stability and error analysis are also provided. The efficiency of the new method, when compared with the existing method, is given in Section 4.

A new embedded phase-fitted modified Runge-Kutta method 159 Phase Properties of Modified Runge-Kutta Method An explicit m-stage modified Runge-Kutta method formula is given by y n+1 = y n + h m b i f(x n + c i h, Y i ), i=1 i 1 Y i = g i y n + h a ij f(x n + c i h, Y j ), i = 1,..., m. () j=1 where a ij, c i, b i, i = 1,..., m are constant, h is the step size and the parameters g i, i = 1,..., m are even function of v = hw. The method is determined by means of Butcher tableau (see Table 1) [1] Table 1: The modified Runge-Kutta method c g a 1 c 3 g 3 a 31 a 3............ c s g s a s1 a s... a s,s 1 b 1 b... b s 1 b s The method is stated to be explicit when i j where a ij = and implicit otherwise. In RK method the embedded pair q(p) is based on the RK method (c, A, b) of order q and another RK method (c, A, b ) of order p < q. An embedded pair is characterized by Butcher tableau c g A An embedded pair of explicit modified Runge-Kutta method is used in a variable step size algorithm because they provide a cheap error estimate. b T b T

16 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid From embedded method we obtain an estimated error. EST n+1 = y n+1 y n+1 (3) For the numerical integration of the equation (1) we used stepsize control procedure which is given by [11]: if EST n+1 < T ol 1, h n+1 = h n, if T ol 1 EST n+1 < T ol, h n+1 = h n, if EST n+1 T ol, h n+1 = hn and repeat the step. where T ol is the requested local error. It should be noted that the q th-order approximation y n is used as the initial value for the (n+1) th step, that mean the embedded pair is applied in local extrapolation mode or higher order mode. To develop the new method we utilize the test equation with analytical solution y = iwy, w ɛ R. (4) y(x n ) = y e iwx. (5) Based on reasons described by Houwen and Sommeijer [1], we shall confine our considerations to the homogeneous phase-lag. Applying the method () to the test equation (4) yields y n+1 = R(iH)y n, H = wh. (6) Definition.1 An explicit m-stage modified RK, (presented in Table 1) the quantities: φ(h) = H arg[r(ih)], α(h) = 1 R(iH) are called the dispersion or phase error or phase-lag and the amplification error respectively. If φ(h) = O(H q+1 ), and α(h) = O(H r+1 ) then the method is said to be phase-lag order q and dissipative order r. For explicit modified Runge-Kutta method R(iH) = A m (H ) + ihb m (H ), (7) where A m and B m are polynomials in H. From equation (7) it follows that [ φ(h) = H tan H B ] m(h ), (8) A m (H ) α(h) = 1 A m(h ) + H B m(h ). (9)

A new embedded phase-fitted modified Runge-Kutta method 161.1 Analysis of Stability An m-stage modified Runge-Kutta method () is applied to equation (4), we obtain y n+1 = y n + HBY, (1) where and From (11), we have Y = y n G + HAY (11) Y = [Y 1, Y,..., Y s ], G = [g 1, g,..., g s ] B = [b 1 b... b s ] T, H = hw (I HA)Y = y n G, Y = (I HA)y n G, Y n+1 = y n + HB(I HA) 1 y n G (1) substituting equation (1) into equation (1), we obtain: where y n+1 = R(H)y n, is the stability function of the method. R(H) = 1 + HB(1 HA) 1 G (13) Definition. A modified Runge-kutta method is said to be absolutely stable if R(H) < 1 3 Construction of the New Method We consider an embedded pair of explicit Runge-Kutta which denoted by Butcher tableau which is given in [1]:

16 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid 1 5 Table : Butcher Tableau RK method 1 5 3 1 3 4 9 4 3 5 3 1 9 1 6 5 3 6 79 5 7 88 79 55 79 1 181 7 5 66 97 91 7 189 55 19 1 16 79 15 16 81 88 5 56 31 19 54 97 145 18 351 1 In this study, our focus is to have modified RK method with the phase-lag of order infinity. Therefore, the coefficients of this method is depending on the product H = wh. To get zero-phase error (φ(h) = ) for the fifth order method then the relation (9) become [ ] Bm (H ) tan(h) = H (14) A m (H ) = H [( 1 + 1 g ) 48 16 H 4 1 6 H + 1 ] 1 1 8 H6 + 1 4 H4 1 (15) H Solving equation (15) for g, we obtain g = 1 15H 4 tan(h) + 3 tan(h)h6 1 tan(h)h 4 + 1 tan(h)h +5H 5 4H 3 + 4H (16) As H, g have the following Taylor expansions: g = 1 1 15 H + 11 835 H4 + 6 15595 H6 + 4163 68175 H8 + 1418 51813 H1 + 4798 36183965 H1 +... (17)

A new embedded phase-fitted modified Runge-Kutta method 163 The same case for the fourth-order method tan(h) = ( 17 1875 H4 + ( 11g ) 675 3 3 135 H + 19g 97 3 + 17) 97 1 7 1 H6 + ( 7 g ) 45 3 + 47 H4 + ( 41 g 18 1458 3 97) 683 H. (18) g 3 = 9 tan(h) + 79 tan(h)h6 7755 tan(h)h 4 + 683 tan(h)h +... H(31H 3 tan(h) 41 tan(h)h + H 95) (19) As H, g 3 have the following Taylor expansions: g 3 = 1 189 95 H4 + 313837 315875 H6 188131641 4511875 H8 + 43935877171 98838598571441837 13878965 H1 13637469375 H1 18164186375587611 3958891958935546875 H14 784337459966961435569 45411197569587815 H16 +... () This new method is denoted as PHRK5(4). The stability function of the higher order of the new method is given by R(H) = 1 + H + 1 H + 1 6 H3 + 1 4 H4 + 1 1 H5 + 1 8 H6 1 168 H7 + 11 131 4163 79 4536 H9 + 1474 H11 + 9797 H13 + 486484 H15 +... (1) It is not possible to find the stability region for infinity series of coefficients. Here, three different finite degrees of coefficients are considered, which are order four, six and eight. we obtained the stability interval to the new method of three different finite degrees of coefficients is ( 3.5, ) for order four, (.8, ) for order six and (.5, ) for order eight. If we continue to cut up to order ten the stability interval is (.4, ) that mean when we increase the order of coefficients the stability interval will be smaller. For the low order of the new method, we follow the same procedure then the stability function is given by R(H) = 1 + H + 1 H + 1 6 H3 + 1 4 H4 + 1 1 H5 1391 3565 H6 + 18993 41565 H7 + 5864919 3695 H8 + 18689171 319834375 H9 + 1356489 15191613815 H1

164 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid + 563396851 1555599996943 46418818359375 H11 + 1587535878965 H1 443746335794381 43935877171 + 144336171875 H13 + 137447996875 H14 +... () The stability region of the new method is obtained by equating the stability function R(H) with e Iθ and then solve for H using maple package. i.e R(H) = e iθ = cos(θ) + i sin(θ). The stability region for the high order method is shown in Figure 1. Figure 1: The stability region for the fifth order of the PHRK5(4) method for different order of the coefficients

A new embedded phase-fitted modified Runge-Kutta method 165 The stability region for the low order method is shown in Figure. Figure : The stability region for the fourth order of the PHRK5(4) method for different order of the coefficients The local truncation error analysis (LTE) of the new method based on the Taylor series expansion of the differences y n+1 and y(x n = h) will be considered The LTE of the high order is given by LT E = y n+1 y(x n + h) (3) LT E = h 6 [ 1 1 (f xf y f xyy y + f x f xy f yy y f y f xyy y ) 1 8 (f yf xy f yy y () f y f xyy y () ) + 1 4 (f xf y f yyy y () f x f xy f xy f xxy y f yy f xyy y () +f x f y f xxy f xy f xyy y () f yy f xyy y (3) f x f yyy () + f xf y f yy ) 1 7 (f yyf y f xx y +f xy f xxx f y f xxx f 3 y f xx f 4 y f xx f 4 y f x + f 5 y y + f xy f yyy y (3) + f y f xy f xx +f yy f xxx y + f yy f yyy y (4) ) 1 36 (f y f yy y f 3 y f xy y ) + f yy f xxx y + f yy f yyy y (4) )

166 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid 1 36 (f y f yy y fy 3 f xy y ) 1 144 f yfxyy 1 18 (f xfy f xy fy f yyy y (3) )] + O(h 7 ) (4) From equation (4), it is clear that the order of the new method is five because all the terms of h lower than h 6 are vanished. and the LTE for the low order: LT E = h 5 11 [ 7 (f xxxx+f yyyy y (4) )+ 11 6 f yf xxy y + 11 6 (f xf xyy y +f xy f yy y () ) 11 9 f xf y f xy + 11 18 (f y f xy y + f yy f xx y + f xxxy + y + f xyyy y (3) + f xx f xy +f yyy (3) ) + 11 375 f yf xyy y () + 11 1 (f xf yyy y () + f xxyy y () + f x f xxy ) + 53 36 f y f yy y () + 143 18 f xf y f yy y + 11 9 f xyy + 11 4 f xf yy 11 3 (f yf xxx + fy f xx ) + 11 15 (f y 3 f x + fy 4 y )] + O(h 6 ) (5) From equation (5), it is clear that the order of the new method is four because all the terms of h lower than h 5 are vanished. 4 Numerical Experiments In this section, we will apply the new method to solve different problems. The following explicit MRK method are selected for the numerical comparison. 4.1 Comparison with fixed step-size methods RK5: The phase-fitted fifth-order derived in this paper. PLRK4: The modified RK method derived by Simos and Vigo-Aguiar [8]. RK5B: Fifth-order six-stage RK method derived by Sakas and Simos [13]. RK4M: Fourth-order five-stage RK method given in Butcher [1]. RK4Z: Fourth-order five-stage RK method given in Hairer et. al [14].

A new embedded phase-fitted modified Runge-Kutta method 167 Problem 1: ( Homogeneous) [15] y 1 = y, y 1 (x) = 1, y = 64 y 1, y (x) = Theoretical solution : y 1 (x) = 1 sin(8x) + cos(8x) 4 y (x) = cos(8x) 8 sin(8x) Problem : ( Inhomogeneous) [1] y 1 = y, y 1 () = 1 y = v y 1 + (v 1) sin(x), y () = v + 1 Estimated frequency: v = 1 Theoretical solution : y 1 (x) = cos(vx) + sin(vx) + sin(x) y (x) = v sin(vx) + v cos(vx) + cos(x) Problem 3: ( Periodic orbit system) [3] y 1 = y, y 1 (x) = 1, y (x) = y = y 1 +.1 cos(x) y 3 = y 4, y 3 (x) =, y 4 (x) =.9995 y 4 = y 3 +.1 sin(x) Theoretical solution: y 1 (x) = cos(x) +.5x sin(x) y (x) = sin(x).5x cos(x) y 3 (x) = sin(x) +.5x cos(x) y 4 (x) = cos(x) +.5x sin(x)

168 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid Problem 4: ( Nonlinear system) [17] y 1 = y 3, y 1 () = 1 y 3 = y 1 ( ) 3, y 3 () = y 1 + y y = y 4, y () = y 4 = y ( ) 3, y 4 () = 1 y 1 + y Theoretical solution : y 1 (x) = cos(x) y (x) = sin(x) y 3 (x) = sin(x) y 4 (x) = cos(x) Problem 5: ( Inhomogeneous) [18] y 1 = y, y 1 () = 1 y = y 1 + x, y () = Theoretical solution: y 1 = sin(x) + cos(x) + x y = cos(x) sin(x) + 1

A new embedded phase-fitted modified Runge-Kutta method 169 1 log1(maxerr) 1 3 RK5 RK5B 4 PLRK4 RK4M RK4Z 5 1. 1.4 1.6 1.8. log 1 (STEP-SIZE) Figure 3: Comparison for RK5, RK5B, PLRK4, RK4M and RK4Z problem 1 with b=1 1 log1(maxerr) 1 RK5 3 RK5B PLRK4 RK4M RK4Z 4 1. 1.4 1.6 1.8. log 1 (STEP-SIZE) Figure 4: Comparison for RK5, RK5B, PLRK4, RK4M and RK4Z problem with b=1

17 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid 1 RK5 RK5B PLRK4 RK4M RK4Z log1(maxerr) 3 4 5 6 7 1. 1.4 1.6 1.8. log 1 (STEP-SIZE) Figure 5: Comparison for RK5, RK5B, PLRK4, RK4M and RK4Z problem 3 with b=1 1 log1(maxerr) 3 4 5 RK5 RK5B 6 PLRK4 RK4M RK4Z 7 1. 1.4 1.6 1.8. log 1 (STEP-SIZE) Figure 6: Comparison for RK5, RK5B, PLRK4, RK4M and RK4Z problem 4 with b=1

A new embedded phase-fitted modified Runge-Kutta method 171 log1(maxerr) 1 3 4 5 RK5 RK5B PLRK4 RK4M RK4Z 6 7 1. 1.4 1.6 1.8. log 1 (STEP-SIZE) Figure 7: Comparison for RK5, RK5B, PLRK4, RK4M and RK4Z problem 5 with b=1

17 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid 4. Comparison with variable step-size methods The methods we choose for comparison are as follows: PHMRKD5(4): The new pair of phase-fitted modified RK method presented in this paper. MODPHARK5: The phase-fitted modified RK pair given by Yonglei et al. [7]. MODRK54: The modified RK pair given by Van de Vyver [5]. RK5(4)F: The RK pair of Fehlbreg given in Butcher [1]. RK5(4)D: The RK pair of Dormand given by Hairer et al. [14]. Problem 6: ( Inhomogeneous system) y 1 = y 3, y 1 () = 1.1 y = y 4, y () = 1 Theoretical solution : y 3 = 16y 1 + 16e 1x + 1e 1x, y 3 () = 1 y 4 = 16y + 16e 1x + 1e 1x, y 4 () = 9.6 Source : Moo. et al. [17]. y 1 =.1 cos(4x) + e 1x y =.1 sin(4x) + e 1x y 3 =.4 sin(4x) 1e 1x y 4 =.4 cos(4x) 1e 1x Problem 7: ( Nonlinear system) Theoretical solution : y 1 = y 3, y 1 () = 1 y = y 4, y () = y 3 = 4x y y 1, y 3 () = y 1 + y y 4 = 4x y Source : Yonglei et al. [19]. y 1, y 4 () = y 1 + y3 y 1 (x) = cos(x ) y (x) = sin(x ) y 3 (x) = x sin(x ) y 4 (x) = x cos(x )

A new embedded phase-fitted modified Runge-Kutta method 173 log1(maxerr) 4 6 8 1 PHMRKD5(4) RK5(4)D RK5(4)F MODRK54 MODPHARK5(4) 3 3.5 log 1 (Function Evaluations) 4 4.5 Figure 8: Accuracy curves for embedded 5(4) of MRK methods for Problem1 1 log1(maxerr) 3 4 5 6 7 8 9 PHMRKD5(4) RK5(4)D RK5(4)F MODRK54 MODPHARK5(4) 3 3.5 log 1 (Function Evaluations) 4 4.5 Figure 9: Accuracy curves for embedded 5(4) of MRK methods for Problem

174 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid log1(maxerr) 4 6 8 1 PHMRKD5(4) RK5(4)D RK5(4)F MODRK54 MODPHARK5(4) 1.5.5 log 1 (Function Evaluations) 3 3.5 4 Figure 1: Accuracy curves for embedded 5(4) of MRK methods for Problem4 log1(maxerr) 4 6 8 PHMRKD5(4) 1 RK5(4)D RK5(4)F MODRK54 MODPHARK5(4) 1 1.5.5 log 1 (Function Evaluations) 3 3.5 Figure 11: Accuracy curves for embedded 5(4) of MRK methods for Problem5

A new embedded phase-fitted modified Runge-Kutta method 175 1 3 log1(maxerr) 4 5 6 7 8 9 1 PHMRKD5(4) RK5(4)D RK5(4)F MODRK54 MODPHARK5(4).5 3 3.5 log 1 (Function Evaluations) 4 Figure 1: Accuracy curves for embedded 5(4) of MRK methods for Problem6 1 log1(maxerr) 3 4 5 6 7 8 9.5 PHMRKD5(4) RK5(4)D RK5(4)F MODRK54 MODPHARK5(4) 3 3.5 log 1 (Function Evaluations) 4 4.5 5 Figure 13: Accuracy curves for embedded 5(4) of MRK methods for Problem7

176 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid For comparison purpose, in analyzing the numerical results, methods with the same order will be compared. The results are plotted in Figures 3, 4, 5, 6 and 7 we present efficiency curves where the common logarithm of the maximum global error throughout the integration versus computational cost measured by h step-size. From the Figures 8-13, we present efficiency curves where the common logarithm of the maximum global error throughout the integration versus computational cost measured by number of function evaluation and we observed that the new PHMRKD5(4) method is more efficient for integration first-order differential equations possessing an oscillatory solution compared with other methods which are RK5(4)D, RK5(4)F, MODRK54 and MOD- PHARK5(4). 5 Conclusion In this paper, we derived a new embedded phase-fitted RK method for solving first-order ordinary differential equations with oscillatory problems. The methods of the embedded have algebraic orders five and four. The phase-fitting technique we used is an extension of the idea from [8]. At first, we introduced for fixed step-size then numerical findings indicate that the proposed method is more efficient than the existing method. Lastly, we used variable step-size become clear that the new embedded is more robustness than the existing method for solving oscillatory problems. References [1] T. E. Simos, Exponentially fitted Runge-Kutta methods for the numerical solution of the Schrödinger equation and related problems, Comput. Mater. Sci., 18 (), 315-33. http://dx.doi.org/1.116/s97-56()11-9 [] T. E. Simos, An exponentially-fitted Runge-Kutta method for the numerical integration of initial-value problems with periodic or oscillating solutions, Comput. Phys. Commun., 115 (1998), 1-8. http://dx.doi.org/1.116/s1-4655(98)88-5 [3] G. Vanden Berghe, H. De Meyer, M. Van Daele, T. Van Hecke, Exponentially fitted explicit Runge-Kutta methods, Comput. Phys. Commun., 13 (1999), 7-15. http://dx.doi.org/1.116/s1-4655(99)365-3 [4] Y. Fang, X. Wu, A trigonometrically fitted explicit Numerov-type method for second-order initial value problems with oscillating solutions, Appl.

A new embedded phase-fitted modified Runge-Kutta method 177 Numer. Math., 58 (8), 341-351. http://dx.doi.org/1.116/j.apnum.6.1.3 [5] H. Van de Vyver, An embedded 5(4)pair of modified explicit Runge-Kutta methods for the numerical solution of the Schrödinger equation, International Journal of Modern Physics C, 16 (5), 879-894. http://dx.doi.org/1.114/s1918315765 [6] Y. Fang, Y. Song and X. Wu, New embedded pairs of explicit Runge- Kutta methods with FSAL properties adapted to the numerical integration of oscillatory problems, Phys. Lett. A, 37 (8), 6551-6559. http://dx.doi.org/1.116/j.physleta.8.9.14 [7] Y. Fang, X. You and Q. Ming, A new phase-fitted modified Runge-Kutta pair for the numerical solution of the radial Schrödinger equation, Appl. Math. Comp., 4 (13), 43-441. http://dx.doi.org/1.116/j.amc.13.8.81 [8] T. E. Simos and J. Vigo Aguiar, A modified Runge-Kutta method with phase-lag of order infinity for the numerical solution of the Schrödinger equation and related problems, Comput. Chem., 5 (1), 75-81. http://dx.doi.org/1.116/s97-8485()11-7 [9] T. E. Simos and J. Vigo Aguiar, A modified phase-fitted Runge-Kutta method for the numerical solution of the Schrödinger equation, Journal of Mathematical Chemistry, 3 (1), 11-131. http://dx.doi.org/1.13/a:11318561937 [1] J. C. Butcher, Numerical Methods for Ordinary Differential Equations, John Wiley & Sons Ltd, Great Britain, 8. http://dx.doi.org/1.1/97847753767 [11] A. D. Raptis and J. R. Cash, A variable step method for the numerical integration of the one-dimensional Schrödinger equation, J. Comput. Phys. Commum., 36 (1985), 113-119. http://dx.doi.org/1.116/1-4655(85)9117-1 [1] P. J. van der Houwen and B. P. Sommeijer, Explicit Runge-Kutta (- Nyström) methods with reduced phase errors for computing oscillating solutions, SIAM Journal on Numerical Analysis, 4 (1987), 595-617. http://dx.doi.org/1.1137/7441 [13] D. P. Sakas and T. E. Simos, A Fifth Algebraic Order Trigonometrically- Fitted Modified Runge-Kutta Zonneveld Method for the Numerical Solution of Orbital problems, Math. Comp. Mod., 4 (5), 93-9. http://dx.doi.org/1.116/j.mcm.5.9.18

178 F. A. Fawzi, N. Senu, F. Ismail and Z. A. Majid [14] E. Hairer, S. P. Nørsett, G. Wanner, Solving Ordinary Differential Equations I, Nonstiff Problems, Springer, Berlin, 1993. http://dx.doi.org/1.17/978-3-54-7886-1 [15] M. M. Chawla, P. S. Rao, High-accuracy P-stable methods for y = f(t, y), IMA Journal of Numerical Analysis, 5 (1985), 15 -. http://dx.doi.org/1.193/imanum/5..15 [16] D. G. Bettis, Runge-Kutta algorithms for oscillatory problems, Zeitschrift für Angewandte Mathematik und Physik, 3 (1979), 699-74. http://dx.doi.org/1.17/bf159846 [17] K. W. Moo, N. Senu, F. Ismail and M. Suleiman, New phase-fitted and amplification-fitted fourth-order and fifth-order Runge-Kutta-Nyström methods for oscillatory problems, Abstract and Applied Analysis, 13 (13), 1-9. http://dx.doi.org/1.1155/13/939367 [18] R. C. Allen, Jr. and G. M. Wing, An invariant imbedding algorithm for the solution of inhomogeneous linear two-point boundary value problems, J. Computational Physics, 14 (1974), 4-58. http://dx.doi.org/1.116/1-9991(74)94-7 [19] Y. Fang, X. You and Q. Ming, Trigonometrically fitted two-derivative Runge-Kutta method for solving oscillatory differential equations, Numer. Algor., 65 (14), 651-667. http://dx.doi.org/1.17/s1175-13-98-z [] J. Vigo-Aguiar and T. E Simos, Review of multistep methods for the numerical solution of the radial Schrödinger equation, Int. J. Quant. Chem., 13 (5), 78-9. http://dx.doi.org/1.1/qua.495 [1] B. Paternoster, Runge-Kutta(-Nyström) methods for ODEs with periodic solutions based on trigonometric polynomials, Applied Numerical Mathematics, 8 (1998), 41-41. http://dx.doi.org/1.116/s168-974(98)56-7 [] Y. Zhang, H. Che, Y. Fang and X. You, A new trigonometrically fitted two-derivative Runge-Kutta method for the numerical solution of the Schrödinger equation and related problems, Journal of Applied Mathematics, 13 (13), 1-9. http://dx.doi.org/1.1155/13/937858 [3] Firas Adel, Norazak Senu, Fudziah Ismail and Zanariah Abd. Majid, New Efficient Phase-Fitted and Amplification-Fitted Runge-Kutta Method for Oscillatory Problems, International Journal of Pure and Applied Mathematics, 17 (16), 69-86. http://dx.doi.org/1.173/ijpam.v17i1.7 Received: April 7, 16; Published: July 6, 16