Next Article in Journal
On History of Mathematical Economics: Application of Fractional Calculus
Next Article in Special Issue
A Lyapunov-Type Inequality for a Laplacian System on a Rectangular Domain with Zero Dirichlet Boundary Conditions
Previous Article in Journal
Semi-Idempotents in Neutrosophic Rings
Previous Article in Special Issue
Generalized Mittag–Leffler Stability of Hilfer Fractional Order Nonlinear Dynamic System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical Solution of the Boundary Value Problems Arising in Magnetic Fields and Cylindrical Shells

1
Department of Mathematics, Government College University Faisalabad, Faisalabad 38023, Pakistan
2
Department of Mathematics, Government College Women University Faisalabad, Faisalabad 38023, Pakistan
3
Department of Mathematics, University of Education, Campus DG Khan, Lahore 54770, Pakistan
4
Department of Mathematics, Balochistan University of Information Technology, Engineering and Management Sciences (BUITEMS), Quetta 87300, Pakistan
5
Department of Mathematics, Cankaya University, Ankara 06530, Turkey
6
Institute of Space Sciences, Magurele-Bucharest 077125, Romania
7
Department of Mathematics, College of Arts and Sciences, Prince Sattam Bin Abdulaziz University, Wadi Aldawaser 11991, Saudi Arabia
8
Department of Mathematics, King Saud University, Riyadh 11495, Saudi Arabia
*
Author to whom correspondence should be addressed.
Mathematics 2019, 7(6), 508; https://doi.org/10.3390/math7060508
Submission received: 19 April 2019 / Revised: 28 May 2019 / Accepted: 29 May 2019 / Published: 3 June 2019
(This article belongs to the Special Issue Mathematical Analysis and Boundary Value Problems)

Abstract

:
This paper is devoted to the study of the Cubic B-splines to find the numerical solution of linear and non-linear 8th order BVPs that arises in the study of astrophysics, magnetic fields, astronomy, beam theory, cylindrical shells, hydrodynamics and hydro-magnetic stability, engineering, applied physics, fluid dynamics, and applied mathematics. The recommended method transforms the boundary problem to a system of linear equations. The algorithm we are going to develop in this paper is not only simply the approximation solution of the 8th order BVPs using Cubic-B spline but it also describes the estimated derivatives of 1st order to 8th order of the analytic solution. The strategy is effectively applied to numerical examples and the outcomes are compared with the existing results. The method proposed in this paper provides better approximations to the exact solution.

1. Introduction

It is frequently significant in practice to find estimated illustrations of physical data by comparatively simple mathematical functions. The approximating functions are typically compulsory to fulfill definite standards involving to precision and smoothness. Earlier, polynomials have regularly been used for such mission, but it had been accepted that there were numerous kinds of data set for which polynomial approximations were unacceptable in that a very high degree may be mandatory to attain the essential accurateness.
To overcome such complications attention has turned to the use of piece-wise polynomials or spline functions. Spline only means a piece-wise polynomial of degree k that is continuously differentiable k 1 times. Spline interpolation is a formula of interpolation wherever the interpolate is a different kind of piece-wise polynomial called spline. Spline interpolation escapes the problem of Runge’s phenomenon, in which oscillation happens among points when interpolating using high degree polynomials. Cubic Spline interpolation is a different type of spline interpolation which is utilized very frequently to escape the problem of Runge’s phenomenon. That technique provides an interpolating polynomial which is evener and has lesser error than former interpolating polynomials such as Lagrange polynomial and Newton polynomial.
A B-spline is a linear combination of a set of basis functions that are determined by the number and location of specified knots or cut-points. Splines are signified here in forms of a basis (as linear combination of certain basis polynomials such as Chebyshev or Legendre polynomials). B-splines are assembled by polynomial pieces linked at a set of nodes. When the nodes are specified, B-splines can be estimated recursively for any degree of the polynomial by using a mathematically steady procedure.
Here in this paper linear and non-linear 8th order BVP’s are discussed that ascends in the study of astrophysics, astronomy, beam theory and long wave theory, hydrodynamics and hydro-magnetic stability, engineering, applied physics, fluid dynamics, and applied mathematics.
Let us consider a linear 8th order BVP
w ( 8 ) ( z ) + a 1 ( z ) w ( 7 ) ( z ) + a 2 ( z ) w ( 6 ) ( z ) + a 3 ( z ) w ( 5 ) ( z ) + a 4 ( z ) w ( 4 ) ( z ) + a 5 ( z ) w ( 3 ) ( z ) + a 6 ( z ) w ( 2 ) ( z ) + a 7 ( z ) w ( 1 ) ( z ) + a 8 ( z ) w ( z ) = f ( z ) , z [ a , b ]
Consider a 8th order non-linear BVP
w ( 8 ) ( z ) = f ( z , w ( z ) , w ( 1 ) ( z ) , w ( 2 ) ( z ) , w ( 3 ) ( z ) , w ( 4 ) ( z ) , w ( 5 ) ( z ) , w ( 6 ) ( z ) , w ( 7 ) ( z ) ) , z [ a , b ]
with boundary conditions
w ( a ) = α 0 , w ( 1 ) ( a ) = α 1 , w ( 2 ) ( a ) = α 2 , w ( 3 ) ( a ) = α 3 , w ( b ) = β 0 , w ( 1 ) ( b ) = β 1 , w ( 2 ) ( b ) = β 2 , w ( 3 ) ( b ) = β 3 ,
where α j and β j ( j = 0 , 1 , , 3 ) are given real constants, ( a i ( z ) ; i = 1 , 2 , , 8 ) and f is continuous on the given interval [ a , b ] .
Theorems which list the conditions for the existence and uniqueness of solution for those type of problems have been deliberated in a inclusive review in a book [1], however no numerical approaches are contained within for resolving BVP’s of higher order.
In [2] the authors presented the solution of 8th order BVP’s using kernel space, In [3] ninth order non-polynomial spline functions were used for the solution of 8th order BVP’s. In [4] the authors explored torsional vibration of uniform beams concerning 8th order differential equation and in [5] the authors discussed finite difference method to solve the 8th order BVP’s. In [6], B-spline interpolation was compared with finite difference, finite element and finite volume methods which was applied to two-point BVP’s.
Chandrasekhar [7] conveyed if an infinite horizontal layer of fluid is heated from below and is in the act of rotation, instability sets in. When the instability sets in as over-stability, it is modeled by an 8th-order ordinary differential equation. Convergence of odd degree spline was argued in [8]. Cubic-B spline solution of a nonlinear system of second order BVP’s was discussed in [9]. In [10,11,12], some numerical methods like Spectral Galerkin method and Legendre Galerkin method for solving special 8th-order linear BVP’s were discussed.
In [13], the authors found a new method using Cubic B-spline for the solution of linear 4th order BVP’s. Error bounds for spline interpolation was found in [14,15]. In [16,17,18] the authors proposed optimal Homotopy asymptotic method and homotopy perturbation method for 8th order BVP’s linear and non-linear problems. In [19] the authors presented the solution for 8th order BVP’s using ADM. Cubic B-spline Solution of Nonlinear Sixth Order BVP’s is discussed in [20]. In [21], the authors found new Cubic B-Spline for the solution of linear 5th order BVP’s. So far cubic B-Spline is not discussed for seventh and higher order linear and nonlinear BVP’s as basis functions.
Reproducing kernel space was used for solution of a class nonlinear equations in [22]. In [23,24] the authors projected the solution for the for 8th order BVP’s using Generalized Differential Quadrature and modified decomposition method. In [25,26,27,28] used Exp-function method, Homotopy perturbation method and Variational iteration method for solving higher-order non-linear BVP’s. The equations for the equilibrium for an orthotropic thin circular cylindrical shell found in [29].
Petrov-Galerkin method was used in [30] and Haar wavelet collocation method was used in [31] for solving 8th order BVP’s. The cylindrical shell equations are derived in [32]. Shen [33] derived the 8th order differential equation by bending and axial vibrations of an elastic beam. In [34,35,36,37] many authors built-up Quintic B-splines Collocation method, Sextic B-Spline Collocation Method, Galerkin Method with Quintic B-splines and Galerkin method with Septic B-splines for 8th order BVP. Wazwaz [38] used modified decomposition method to solve special 8th-order BVP’s.

2. Fundamentals of Cubic B-Splines

Let the given interval [ a , b ] be divided into sub intervals of equal length such that
Ω = [ a , b ]
and
Ω i = z i = a + i h ,
for i = 0 , 1 , 2 , , n where h = b a n .
Let us consider S 3 ( Ω ) = { p ( t ) C 2 ( Ω ) } where p ( t ) denotes the set of uni variate cubic polynomial on sub-interval ( z i , z i + 1 ) . The basis function is defined as
B 1 ( z ) = 1 6 h 3 ( z 1 z ) 3 , i f z [ z 0 , z 1 ] 0 , otherwise
B 0 ( z ) = 1 6 h 3 h 3 + 3 h 2 ( z 1 z ) + 3 h ( z 1 z ) 2 3 ( z 1 z ) 3 , i f z [ z 0 , z 1 ] ( z 2 z ) 3 i f z [ z 1 , z 2 ] 0 , otherwise
B 1 ( z ) = 1 6 h 3 h 3 + 3 h 2 ( z z 0 ) + 3 h ( z z 0 ) 2 3 ( z z 0 ) 3 , i f z [ z 0 , z 1 ] h 3 + 3 h 2 ( z 2 z ) + 3 h ( z 2 z ) 2 3 ( z 2 z ) 3 , i f z [ z 1 , z 2 ] ( z 3 z ) 3 i f z [ z 1 , z 2 ] 0 , otherwise
B i ( z ) = 1 6 h 3 ( z z i 2 ) 3 i f z [ z i 2 , z i 1 ] h 3 + 3 h 2 ( z z i 1 ) + 3 h ( z z i 1 ) 2 3 ( z z i 1 ) 3 , i f z [ z i 1 , z i ] h 3 + 3 h 2 ( z i + 1 z ) + 3 h ( z i + 1 z ) 2 3 ( z i + 1 z ) 3 , i f z [ z i , z i + 1 ] ( z i + 2 z ) 3 i f z [ z i + 1 , z i + 2 ] 0 , otherwise
for i = 0 , 1 , , n . Since each B i ( z ) is similarly a piece-wise cubic with nodes at Ω , so collectively B i ( z ) S 3 ( Ω ) . Let Ψ = { B 1 , B 0 , B 1 , , B n + 1 } and let B 3 ( Ω ) = s p a n Ψ . The functions in Ψ are linearly independent on [ a , b ] , thus B 3 ( Ω ) is ( n + 3 ) -dimensional and B 3 ( Ω ) = S 3 ( Ω ) . Let S ( z i ) be the Cubic B-spline interpolating function at the nodal points and S ( z i ) B 3 ( Ω ) . Then S ( z i ) can be written as
S ( z i ) = i = 1 n + 1 1 B i ( z i ) .
The values of B ( z ) , B ( 1 ) ( z ) and B ( 2 ) ( z ) at the nodes are listed in Table 1.
For an assumed function w ( z i ) there will be a Cubic B-spline satisfying the interpolating conditions:
s ( z i ) = w ( z i ) ,
where i = 0 , 1 , , n , and
s ( a ) = w ( a ) , s ( b ) = w ( b )
and
s ( 1 ) ( a ) = w ( 1 ) ( a ) , s ( 1 ) ( b ) = w ( 1 ) ( b )
Let m i = s ( 1 ) ( z i ) and M i = s ( 2 ) ( z i ) then from [20]
m i = s ( 1 ) ( z i ) = w ( 2 ) ( z i ) 1 180 h 4 w ( 6 ) ( z i ) + O ( h 6 ) .
M i = s ( 2 ) ( z i ) = w ( 2 ) ( z i ) 1 12 h 2 w ( 4 ) ( z i ) + 1 360 h 4 w ( 6 ) ( z i ) + O ( h 6 ) .
M i can be used to calculate the numerical difference formulas for w ( 3 ) ( z i ) , w ( 4 ) ( z i ) where i = 1 , 2 , , n 1 , w ( 5 ) ( z i ) , w ( 6 ) ( z i ) where i = 2 , , n 2 and w ( 7 ) ( z i ) , w ( 8 ) ( z i ) where i = 3 , , n 3 as follows, wherever the errors are acquired by the Taylor series expansion
M i + 1 M i 1 2 h = s 3 ( z i ) s 3 ( z i + ) 2 = w ( 3 ) ( z i ) + 1 12 h 2 w ( 5 ) ( z i ) + O ( h 4 )
From [16,19],
M i + 1 2 M i + M i 1 h 2 = s 3 ( z i + ) s 3 ( z i ) h = w ( 4 ) ( z i ) 1 720 h 4 w ( 8 ) ( z i ) + O ( h 6 )
M i + 2 2 M i + 1 + 2 M i 1 M i 2 2 h 3 = w ( 5 ) ( z i ) + O ( h 2 )
And from [18],
w ( 6 ) ( z i ) = w i + 1 ( 4 ) ( z i ) 2 w i ( 4 ) ( z i ) + w i 1 ( 4 ) ( z i ) h 2
M i + 2 4 M i + 1 + 6 M i 4 M i 1 + M i 2 h 4 = w ( 6 ) ( z i ) + O ( h 2 )
Following the above the Taylor series expansion for w ( 7 ) ( z i ) at the selected collocation points with central difference the authors of this paper have found that
w ( 7 ) ( z i ) = w i + 2 ( 4 ) ( z i ) 2 w i + 1 ( 4 ) ( z i ) + 2 w i 1 ( 4 ) ( z i ) w i 2 ( 4 ) ( z i ) 2 h 3
M i + 3 4 M i + 2 + 5 M i + 1 5 M i 1 + 4 M i 2 + M i 3 2 h 5 = w ( 7 ) ( z i ) + O ( h 2 )

3. Cubic-B Spline Solutions of 8th Order BVP

Following the above the Taylor series expansion for w ( 8 ) ( z i ) at the selected collocation points with central difference, we have
w ( 8 ) ( z i ) = w i + 2 ( 4 ) ( z i ) 4 w i + 1 ( 4 ) ( z i ) + 6 w i ( 4 ) ( z i ) 4 w i 1 ( 4 ) ( z i ) + w i 2 ( 4 ) ( z i ) h 4
From Equation (11) we have
M i 1 2 M i 2 + M i 3 h 2 = w ( 4 ) ( z i 2 ) 1 720 h 2 w ( 8 ) ( z i 2 ) + O ( h 6 ) M i 2 M i 1 + M i 2 h 2 = w ( 4 ) ( z i 1 ) 1 720 h 2 w ( 8 ) ( z i 1 ) + O ( h 6 ) M i + 2 2 M i + 1 + M i h 2 = w ( 4 ) ( z i + 1 ) 1 720 h 2 w ( 8 ) ( z i + 1 ) + O ( h 6 ) M i + 3 2 M i + 2 + M i + 1 h 2 = w ( 4 ) ( z i + 2 ) 1 720 h 2 w ( 8 ) ( z i + 2 ) + O ( h 6 )
Using Equations (11) and (18) in Equation (17), we have
M i + 3 6 M i + 2 + 15 M i + 1 20 M i + 15 M i 1 6 M i 2 + M i 3 h 6 = w ( 8 ) ( z i ) + O ( h 2 )
As M i = i + 1 2 i + i 1 h 2 using this we have
M i 1 = i 2 i 1 + i 2 h 2 , M i 2 = i 1 2 i 2 + i 3 h 2 , M i 3 = i 2 2 i 3 + i 4 h 2
M i + 1 = i + 2 2 i + 1 + i h 2 , M i + 2 = i + 3 2 i + 2 + i + 1 h 2 , M i + 3 = i + 4 2 i + 3 + i + 2 h 2
so Equation (19) becomes
w ( 8 ) ( z i ) = 1 h 6 ( i + 4 2 i + 3 + i + 2 h 2 6 ( i + 3 2 i + 2 + i + 1 h 2 ) + 15 ( i + 2 2 i + 1 + i h 2 ) 20 ( i + 1 2 i + i 1 h 2 ) + 15 ( i 2 i 1 + i 2 h 2 ) 6 ( i 1 2 i 2 + i 3 h 2 ) + i 2 2 i 3 + i 4 h 2 )
w ( 8 ) ( z i ) = 1 h 8 ( i + 4 2 i + 3 + i + 2 6 ( i + 3 2 i + 2 + i + 1 ) + 15 ( i + 2 2 i + 1 + i ) 20 ( i + 1 2 i + i 1 ) + 15 ( i 2 i 1 + i 2 ) 6 ( i 1 2 i 2 + i 3 ) + i 2 2 i 3 + i 4 )
w ( 8 ) ( z i ) = s ( 8 ) ( z i ) = i + 4 8 i + 3 + 28 i + 2 56 i + 1 + 70 i 56 i 1 + 28 i 2 8 i 3 + i 4 h 8
Using of Table 1 and above equations, we get estimate values of w ( z ) and its all derivatives from 1st to 8th at the nodes as
w ( z i ) = s ( z i ) = i 1 + 4 i + i + 1 6 w ( 1 ) ( z i ) = s ( 1 ) ( z i ) = i + 1 i 1 2 h w ( 2 ) ( z i ) = s ( 2 ) ( z i ) = i + 1 2 i + i 1 h 2 w ( 3 ) ( z i ) = s ( 3 ) ( z i ) = i + 2 2 i + 1 + 2 i 1 i 2 2 h 3 w ( 4 ) ( z i ) = s ( 4 ) ( z i ) = i + 2 4 i + 1 + 6 i 4 i 1 + i 2 h 4 w ( 5 ) ( z i ) = s ( 5 ) ( z i ) = i + 3 4 i + 2 + 5 i + 1 + 5 i 1 + 4 i 2 i 3 2 h 5 w ( 6 ) ( z i ) = s ( 6 ) ( z i ) = i + 3 6 i + 2 + 15 i + 1 20 i + 15 i 1 6 i 2 + i 3 h 6 w ( 7 ) ( z i ) = s ( 7 ) ( z i ) = i + 4 6 i + 3 + 14 i + 2 14 i + 1 + 14 i 1 14 i 2 + 6 i 3 i 4 2 h 7 w ( 8 ) ( z i ) = s ( 8 ) ( z i ) = i + 4 8 i + 3 + 28 i + 2 56 i + 1 + 70 i 56 i 1 + 28 i 2 8 i 3 + i 4 h 8

4. Application of Cubic B Spline on Linear 8th Order BVP’s

Then Equation (1) at the nodes becomes:
w ( 8 ) ( z i ) + a 1 ( z i ) w ( 7 ) ( z i ) + a 2 ( z i ) w ( 6 ) ( z i ) + a 3 ( z i ) w ( 5 ) ( z i ) + a 4 ( z i ) w ( 4 ) ( z i ) + a 5 ( z i ) w ( 3 ) ( z i ) + a 6 ( z i ) w ( 2 ) ( z i ) + a 7 ( z i ) w ( 1 ) ( z i ) + a 8 ( z i ) w ( z i ) = f ( z i ) , z i [ a , b ]
Using Equation (20) in Equation (21), we have
1 h 8 ( i + 4 8 i + 3 + 28 i + 2 56 i + 1 + 70 i 56 i 1 + 28 i 2 8 i 3 + i 4 ) + a 1 ( z i ) 1 2 h 7 ( i + 4 6 i + 3 + 14 i + 2 14 i + 1 + 14 i 1 14 i 2 + 6 i 3 i 4 ) + a 2 ( z i ) 1 h 6 ( i + 3 6 i + 2 + 15 i + 1 20 i + 15 i 1 6 i 2 + i 3 ) + a 3 ( z i ) 1 2 h 5 ( i + 3 4 i + 2 + 5 i + 1 + 5 i 1 + 4 i 2 i 3 ) + a 4 ( z i ) 1 h 4 ( i + 2 4 i + 1 + 6 i 4 i 1 + i 2 ) + a 5 ( z i ) 1 2 h 3 ( i + 2 2 i + 1 + 2 i 1 i 2 ) + a 6 ( z i ) 1 h 2 ( i + 1 2 i + i 1 ) + a 7 ( z i ) 1 2 h ( i + 1 i 1 ) + a 8 ( z i ) 1 6 ( i 1 + 4 i + i + 1 ) = f i ( z i ) , z a , b
after simplifying, we have
6 ( i + 4 8 i + 3 + 28 i + 2 56 i + 1 + 70 i 56 i 1 + 28 i 2 8 i 3 + i 4 ) + 3 h a 1 ( z i ) ( i + 4 6 i + 3 + 14 i + 2 14 i + 1 + 14 i 1 14 i 2 + 6 i 3 i 4 ) + 6 h 2 a 2 ( z i ) ( i + 3 6 i + 2 + 15 i + 1 20 i + 15 i 1 6 i 2 + i 3 ) + 3 h 3 a 3 ( z i ) ( i + 3 4 i + 2 + 5 i + 1 + 5 i 1 + 4 i 2 i 3 ) + 6 h 4 a 4 ( z i ) ( i + 2 4 i + 1 + 6 i 4 i 1 + i 2 ) + 3 h 5 a 5 ( z i ) ( i + 2 2 i + 1 + 2 i 1 i 2 ) + 6 h 6 a 6 ( z i ) ( i + 1 2 i + i 1 ) + 3 h 7 a 7 ( z i ) ( i + 1 i 1 ) + h 8 a 8 ( z i ) ( i 1 + 4 i + i + 1 ) = 6 h 8 f i ( z i ) , z a , b
where f i = f ( z i ) be the values of f ( z ) at the nodes z i ( i = 0 , 1 , , n ) . By solving Equation (22) we will have a linear system of ( n 5 ) linear equations ( i = 2 , 3 , , n 2 ) with ( n + 3 ) unknowns l i where ( i = 1 , 0 , 1 , , n + 1 ) , so eight more equations are desirable. By the boundary conditions at z = a , we will have four equations:
w ( z 0 ) = α 0 1 + 4 0 + 1 = 6 α 0 w ( 1 ) ( z 0 ) = α 1 1 + 1 = 2 α 1 h w ( 2 ) ( z 0 ) = α 2 1 2 0 + 1 = α 2 h 2 w ( 3 ) ( z 0 ) = α 3 2 2 1 + 2 1 2 = 2 α 3 h 3
if we notice Equation (23), we found a new unknown 2 , to find this unknown we will have an equation from Equation (22) at i = 1 Similarly for z = b , we will have four equations:
w z n = β 0 n 1 + 4 n + n + 1 = 6 β 0 w ( 1 ) ( z n ) = β 1 n 1 + n + 1 = 2 β 1 h w ( 2 ) ( z n ) = β 2 n 1 2 n + n + 1 = β 2 h 2 w ( 3 ) ( z n ) = β 3 n + 2 2 n + 1 + 2 n 1 n 2 = 2 β 3 h 3
if we notice Equation (24), we found a new unknown n + 2 , to find this unknown we will have an equation from Equation (22) at i = n 1 . From Equations (23) and (24) we will have eight equations. Neglecting the order of the error terms, the approximate solution w ( z i ) = s ( z i ) = i = 1 n + 1 i B i ( z i ) can be found by solving the above system of ( n + 5 ) linear equations in ( n + 5 ) unknowns 2 , 1 , 0 , …, n + 2 using the Equations (22)–(24).

5. Application of Cubic B Spline on Non-Linear 8th Order BVP’s

Then Equation (2) at the nodes becomes:
w ( 8 ) ( z i ) = f ( z i , w ( z i ) , w ( 1 ) ( z i ) , w ( 2 ) ( z i ) , w ( 3 ) ( z i ) , w ( 4 ) ( z i ) , w ( 5 ) ( z i ) , w ( 6 ) ( z i ) , w ( 7 ) ( z i ) )
Using Equation (20) in Equation (25), we have
1 h 8 ( l i + 4 8 l i + 3 + 28 l i + 2 56 l i + 1 + 70 l i 56 l i 1 + 28 l i 2 8 l i 3 + l i 4 ) = f i ( z i , 1 6 ( l i 1 + 4 l i + l i + 1 ) , 1 2 h ( l i + 1 l i 1 ) , 1 h 2 ( l i + 1 2 l i + l i 1 ) , 1 2 h 3 ( l i + 2 2 l i + 1 + 2 l i 1 l i 2 ) , 1 h 4 ( l i + 2 4 l i + 1 + 6 l i 4 l i 1 + l i 2 ) , 1 2 h 5 ( l i + 3 4 l i + 2 + 5 l i + 1 + 5 l i 1 + 4 l i 2 l i 3 ) , 1 h 6 ( l i + 3 6 l i + 2 + 15 l i + 1 20 l i + 15 l i 1 6 l i 2 + l i 3 ) , 1 2 h 7 ( l i + 4 6 l i + 3 + 14 l i + 2 14 l i + 1 + 14 l i 1 14 l i 2 + 6 l i 3 l i 4 ) ) , z [ a , b ]
Let
f i ( z i , 1 6 ( l i 1 + 4 l i + l i + 1 ) , 1 2 h ( l i + 1 l i 1 ) , 1 h 2 ( l i + 1 2 l i + l i 1 ) , 1 2 h 3 ( l i + 2 2 l i + 1 + 2 l i 1 l i 2 ) , 1 h 4 ( l i + 2 4 l i + 1 + 6 l i 4 l i 1 + l i 2 ) , 1 2 h 5 ( l i + 3 4 l i + 2 + 5 l i + 1 + 5 l i 1 + 4 l i 2 l i 3 ) , 1 h 6 ( l i + 3 6 l i + 2 + 15 l i + 1 20 l i + 15 l i 1 6 l i 2 + l i 3 ) , 1 2 h 7 ( l i + 4 6 l i + 3 + 14 l i + 2 14 l i + 1 + 14 l i 1 14 l i 2 + 6 l i 3 l i 4 ) ) = L i
after simplifying, we have
( l i + 4 8 l i + 3 + 28 l i + 2 56 l i + 1 + 70 l i 56 l i 1 + 28 l i 2 8 l i 3 + l i 4 ) = h 8 L i
The approximate solution w ( z i ) = s ( z i ) = i = 1 n + 1 l i B i ( z i ) is attained by resolving the overhead system of ( n + 5 ) linear equations in ( n + 5 ) unknowns using the Equations (22), (23) and (26).

6. Convergence Analysis

Let w ^ ( z ) be the exact solution of the Equations (1)–(3) and also s ^ ( z ) be the Cubic B spline approximation to w ^ ( z ) . Therefore, we have
w ^ ( z i ) = s ^ ( z i ) = i = 1 n + 1 ^ i B i ( z i )
where
^ = ^ i = ^ 1 , ^ 0 , ^ 1 , , ^ n + 1 T
Also, we have assume that s ( z ) be the computed Cubic B spline approximation to s ^ ( z ) , namely
w ( z i ) = s ( z i ) = i = 1 n + 1 i B i ( z i )
= i = 1 , 0 , 1 , , n + 1 T
To approximate the error w ^ ( z i ) s ^ ( z i ) we have to estimate error w ^ ( z i ) s ( z i ) and w ( z i ) s ^ ( z i ) separately.
The system of ( n + 3 ) × ( n + 3 ) matrix can be written as:
A = F
Then, we have
A ^ = F ^
and
A = F
Now, by subtracting (30) and (31), we obtain
A ( ^ ) = F F ^
where A is an ( n + 3 ) × ( n + 3 ) -dimensional band matrix, and
F = F 1 , F 0 , F 1 , , F n + 1 T ,
where T denoting transpose.
We can write
( ^ ) = A 1 ( F F ^ )
Taking infinity norm from (33), we obtain
( ^ ) = A 1 F F ^
The B-spline B = B i = { B 1 , B 0 , B 1 , , B n + 1 } satisfy the following property
| i = 1 n + 1 i B i ( z i ) | 1
Using [8,14,15]
A 1 F F ^ η h 2
( ^ ) η h 2
s ( z i ) s ^ ( z i ) = ( ^ ) i = 1 n + 1 B i ( z i )
s ( z i ) s ^ ( z i ) = ( ^ ) i = 1 n + 1 B i ( z i )
s ( z i ) s ^ ( z i ) ( ^ ) | i = 1 n + 1 B i ( z i ) | η h 2
w ^ ( z i ) s ( z i ) h 4
w ^ ( z i ) s ^ ( z i ) w ^ ( z i ) s ( z i ) + s ( z i ) s ^ ( z i )
Using (40)and (41) in (42)
w ^ ( z i ) s ^ ( z i ) η h 2 + h 4 = ω h 2
which proves that this method is second order convergent and
w ^ ( z ) s ^ ( z ) ω h 2

7. Results and Discussion

In the numerical section, to validate the appropriateness of the proposed technique for solving the 8th order BVP’s, we considered six examples which are linear and non-linear BVP’s. Numerical outcomes for each problem are obtainable in tabular forms and matched with the exact solutions and absolute errors are calculated.

7.1. Problem 1

Consider the linear 8th order BVP’s ([3,30,34,38])
w ( 8 ) ( z ) w ( z ) = 8 e z , 0 z 1
subject to
w ( 0 ) = 1 , w ( 1 ) = 0 , w ( 1 ) ( 0 ) = 0 , w ( 1 ) ( 1 ) = e ,
w ( 2 ) ( 0 ) = 1 , w ( 2 ) ( 1 ) = 2 e , w ( 3 ) ( 0 ) = 2 , w ( 3 ) ( 1 ) = 3 e .
The precise solution is w ( z ) = ( 1 z ) e z . Arithmetical outcomes for this problem are revealed in Table 2 for h = 1 10 . The graphical comparison between absolute errors at h = 1 10 and h = 1 5 is demonstrated in Figure 1. At h = 1 10 we will have unknowns i where ( i = 2 , 1 , 0 , 1 , , n + 2 ) . At n = 10 we will have seven equations from Equation (22), four equations from Equation (23), four equations from Equation (24), so total we will have fifteen equations and fifteen unknowns.
Arithmetical outcomes for this problem are revealed in Table 3 for h = 1 5 . At n = 5 we will have two equation from Equation (22), four equations from Equation (23), four equations from Equation (24), so total we will have ten equations and ten unknowns.
Absolute errors at all derivatives are described in Table 4.

7.2. Problem 2

Consider the linear 8th order BVP’s ([23,30,31,34])
w ( 8 ) ( z ) + z w ( z ) = e z ( 48 + 15 z + z 3 ) , 0 z 1
subject to
w ( 0 ) = 0 , w ( 1 ) = 0 , w ( 1 ) ( 0 ) = 1 , w ( 1 ) ( 1 ) = e ,
w ( 2 ) ( 0 ) = 0 , w ( 2 ) ( 1 ) = 4 e , w ( 3 ) ( 0 ) = 3 , w ( 3 ) ( 1 ) = 9 e .
The precise solution is w ( z ) = z ( 1 z ) e z . Algebraic outcomes for this problem are presented in Table 5 for h = 1 10 . The graphical comparison between absolute errors at h = 1 10 and h = 1 5 is demonstrated in Figure 2. At h = 1 10 we will have unknowns i ( i = 2 , 1 , 0 , 1 , , n + 2 ) where. At n = 10 we will have seven equations from Equation (22), four equations from Equation (23), four equations from Equation (24), so total we will have fifteen equations and fifteen unknowns.
Arithmetical outcomes for this problem are revealed in Table 6 for h = 1 5 . At n = 5 we will have two equation from Equation (22), four equations from Equation (23), four equations from Equation (24), so total we will have ten equations and ten unknowns.
Absolute errors at all derivatives are described in Table 7.

7.3. Problem 3

Consider the linear 8th order BVP’s ([23,30,31])
w ( 8 ) ( z ) w ( z ) = 8 ( 2 z c o s ( z ) + 7 s i n ( z ) ) , 0 z 1
subject to
w ( 0 ) = 0 , w ( 1 ) = 0 , w ( 1 ) ( 0 ) = 1 , w ( 1 ) ( 1 ) = 2 s i n ( 1 ) ,
w ( 2 ) ( 0 ) = 0 , w ( 2 ) ( 1 ) = 4 c o s ( 1 ) + 2 s i n ( 1 ) ,
w ( 3 ) ( 0 ) = 7 , w ( 3 ) ( 1 ) = 6 s i n ( 1 ) + 6 c o s ( 1 ) .
The exact solution is w ( z ) = ( ( z ) 2 1 ) s i n ( z ) . Arithmetical outcomes for this problem are revealed in Table 8 for h = 1 10 . The graphical comparison between absolute errors at h = 1 10 and h = 1 5 is demonstrated in Figure 3. At h = 1 10 we will have unknowns i ( i = 2 , 1 , 0 , 1 , , n + 2 ) where. At n = 10 we will have seven equations from Equation (22), four equations from Equation (23), four equations from Equation (24), so total we will have fifteen equations and fifteen unknowns.
Arithmetical outcomes for this problem are revealed in Table 9 for h = 1 5 . At n = 5 we will have two equation from Equation (22), four equations from Equation (23), four equations from Equation (24), so total we will have ten equations and ten unknowns.
Absolute errors at all derivatives are described in Table 10.

7.4. Problem 4

w ( 8 ) ( z ) + w ( 3 ) ( z ) s i n ( w ( z ) ) = e z ( 1 + s i n ( e z ) ) , 0 z 1
Subject to
w ( 0 ) = 1 , w ( 1 ) = e ,
w ( 1 ) ( 0 ) = 1 , w ( 1 ) ( 1 ) = e ,
w ( 2 ) ( 0 ) = 1 , w ( 2 ) ( 1 ) = e ,
w ( 3 ) ( 0 ) = 1 , w ( 3 ) ( 1 ) = e .
The exact solution for the above problem is given by w ( z ) = e z . Arithmetical outcomes for this problem are presented in Table 11 for h = 1 10 . The graphical comparison between absolute errors at h = 1 10 and h = 1 5 is presented in Figure 4. At h = 1 10 or n = 10 , there will be unknown values l i where ( i = 2 , 1 , 0 , 1 , , n + 2 ) so, there will be seven equations from Equation (22), four equations from Equation (23), four equations from Equation (26), so totally, there will be fifteen equations and fifteen unknown values.
Arithmetical outcomes for this problem are presented in Table 12 for h = 1 5 or n = 5 , there will be two equation from Equation (22), four equations from Equation (23), four equations from Equation (26), so totally, there will be ten equations and ten unknown values.
Absolute errors at all derivatives are described in Table 13.

7.5. Problem 5

w ( 8 ) ( z ) = 7 ! ( e 8 w ( z ) 2 1 + z 8 ) , 0 z e 1 2 1
subject to
w ( 0 ) = 0 , w ( e 1 2 1 ) = 1 2 ,
w ( 1 ) ( 0 ) = 1 , w ( 1 ) ( e 1 2 1 ) = e 1 2 ,
w ( 2 ) ( 0 ) = 1 , w ( 2 ) ( e 1 2 1 ) = e 1 ,
w ( 3 ) ( 0 ) = 2 , w ( 3 ) ( e 1 2 1 ) = 2 e 3 2 .
The precise solution for the overhead problem is specified by w ( z ) = l n ( 1 + z ) . The suggested technique is confirmed on this problem where the domain [0, e 1 2 1 ] for h = 2 i ( e 1 2 1 ) . Algebraic outcomes for this problem are presented in Table 14 for h = 0.06487213 . The graphical comparison between absolute errors at h = 0.06487213 and h = 0.12974426 is presented in Figure 5. At h = 0.06487213 and n = 10 , there will be unknown values l i where ( i = 2 , 1 , 0 , 1 , , n + 2 ) so, there will be seven equations from Equation (22), four equations from Equation (23), four equations from Equation (26), so totally, there will be fifteen equations and fifteen unknown values.
Arithmetical outcomes for this problem are presented in Table 15 for h = 0.12974426 and n = 5 , there will be two equation from Equation (22), four equations from Equation (23), four equations from Equation (26), so totally, there will be ten equations and ten unknown values.
Absolute errors at all derivatives are described in Table 16.

7.6. Problem 6

w ( 8 ) ( z ) + e z ( w ( z ) ) 2 = e z + e 3 z , 0 z 1
subject to
w ( 0 ) = 1 , w ( 1 ) = e 1 ,
w ( 1 ) ( 0 ) = 1 , w ( 1 ) ( 1 ) = e 1 ,
w ( 2 ) ( 0 ) = 1 , w ( 2 ) ( 1 ) = e 1 ,
w ( 3 ) ( 0 ) = 1 , w ( 3 ) ( 1 ) = e 1 .
The exact solution for the above problem is given by w ( z ) = e z . Arithmetical outcomes for this problem are presented in Table 17 for h = 1 10 . The graphical comparison between absolute errors at h = 1 10 and h = 1 5 is presented in Figure 6. At h = 1 10 or n = 10 , there will be unknowns l i where ( i = 2 , 1 , 0 , 1 , , n + 2 ) so, there will be seven equations from Equation (22), four equations from Equation (23), four equations from Equation (26), so totally, there will be fifteen equations and fifteen unknowns.
Arithmetical outcomes for this problem are presented in Table 18 for h = 1 5 or n = 5 , there will be two equation from Equation (22), four equations from Equation (23), four equations from Equation (26), so totally, there will be ten equations and ten unknown values.
Absolute errors at all derivatives are described in Table 19.

8. Conclusions

A new method with Cubic B-splines as basis functions is presented to solve 8th order linear and non-linear BVP’s. The above sections prove that the cubic-B spline technique is a sensible approach for the numerical solution of the 8th order linear and non-linear BVP. The proposed method is applied to solve six problems to study the efficiency of the method. The numerical results found by this method are very close to the exact solutions. We recommend that Cubic-B spline method can also be helpful when we consider further higher order BVP’s.

Author Contributions

Conceptualization, A.K. and M.N.N.; methodology, M.N.N. and D.B.; software, A.K., Z.U. and K.S.N.; formal analysis, A.K., A.G. and M.M.A.-Q.; writing–original draft preparation, A.K., K.S.N. and M.N.N.; writing–review and editing, K.S.N. and D.B.; visualization, A.K. and A.G.; supervision, M.N.N. and D.B.; funding acquisition, A.K., A.G. and Z.U.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ADMAdomian decomposition method
BVP’sBoundary value problems

References

  1. Agarwal, R.P. Boundary Value Problems from Higher Order Differential Equations; World Scientific: Singapore, 1986. [Google Scholar]
  2. Akram, G.; Rehman, H.U. Numerical solution of 8th order boundary value problems in reproducing Kernel space. Numer. Algorithms 2013, 62, 527–540. [Google Scholar] [CrossRef]
  3. Akram, G.; Siddiqi, S.S. Nonic spline solutions of 8th order boundary value problems. Appl. Math. Comput. 2006, 182, 829–845. [Google Scholar]
  4. Bishop, R.; Cannon, S.; Miao, S. On coupled bending and torsional vibration of uniform beams. J. Sound Vib. 1989, 131, 457–464. [Google Scholar] [CrossRef]
  5. Boutayeb, A.; Twizell, E. Finite-difference methods for the solution of special 8th-order boundary-value problems. Int. J. Comput. Math. 1993, 48, 63–75. [Google Scholar] [CrossRef]
  6. Caglar, H.; Caglar, N.; Elfaituri, K. B-spline interpolation compared with finite difference, finite element and finite volume methods which applied to two-point boundary value problems. Appl. Math. Comput. 2006, 175, 72–79. [Google Scholar] [CrossRef]
  7. Chandrasekhar, S. Hydrodynamic and Hydromagnetic Stability; Courier Corporation: New York, NY, USA, 2013. [Google Scholar]
  8. De Boor, C. On the convergence of odd-degree spline interpolation. J. Approx. Theory 1968, 1, 452–463. [Google Scholar] [CrossRef] [Green Version]
  9. Dehghan, M.; Lakestani, M. Numerical solution of nonlinear system of second-order boundary value problems using cubic B-spline scaling functions. Int. J. Comput. Math. 2008, 85, 1455–1461. [Google Scholar] [CrossRef]
  10. Davies, A.; Karageorghis, A.; Phillips, T. Spectral Galerkin methods for the primary 2-point boundary value problem in modelling viscoelastic flows. Int. J. Numer. Methods Eng. 1988, 26, 647–662. [Google Scholar] [CrossRef]
  11. Djidjeli, K.; Twizell, E.; Boutayeb, A. Numerical methods for special nonlinear boundary-value problems of order 2m. J. Comput. Appl. Math. 1993, 47, 35–45. [Google Scholar] [Green Version]
  12. Elahi, Z.; Akram, G.; Siddiqi, S.S. Numerical solution for solving special 8th-order linear boundary value problems using Legendre Galerkin method. Math. Sci. 2016, 10, 201–209. [Google Scholar] [CrossRef]
  13. Gupta, Y.; Kumar, M. B-spline method for solution of linear fourth order boundary value problem. System 2011, 1, 4. [Google Scholar]
  14. Prenter, P.M. Splines and Variational Methods; Courier Corporation: New York, NY, USA, 2008. [Google Scholar]
  15. Hall, C. On error bounds for spline interpolation. J. Approx. Theory 1968, 1, 209–218. [Google Scholar] [CrossRef] [Green Version]
  16. Golbabai, A.; Javidi, M. Application of homotopy perturbation method for solving 8th-order boundary value problems. Appl. Math. Comput. 2007, 191, 334–346. [Google Scholar]
  17. Haq, S.; Idrees, M.; Islam, S. Application of optimal Homotopy asymptotic method to 8th order initial and boundary value problems. Int. J. Appl. Math. Comput. 2010, 2, 73–80. [Google Scholar]
  18. He, J.-H. A coupling method of a homotopy technique and a perturbation technique for non-linear problems. Int. J. Non-Linear Mech. 2000, 35, 37–43. [Google Scholar] [CrossRef]
  19. Inç, M.; Evans, D.J. An efficient approach to approximate solutions of 8th-order boundary-value problems. Int. J. Comput. Math. 2004, 81, 685–692. [Google Scholar] [CrossRef]
  20. Khalid, A.; Naeem, M.N. Cubic B-spline Solution of Nonlinear Sixth Order Boundary Value Problems. J. Math. 2018, 50, 91–103. [Google Scholar]
  21. Lang, F.-G.; Xu, X.-P. A new cubic B-spline method for linear fifth order boundary value problems. J. Appl. Math. Comput. 2011, 36, 101–116. [Google Scholar] [CrossRef]
  22. Li, C.-L.; Cui, M.-G. The exact solution for solving a class nonlinear operator equations in the reproducing kernel space. Appl. Math. Comput. 2003, 143, 393–399. [Google Scholar] [CrossRef]
  23. Liu, G.; Wu, T. Differential quadrature solutions of 8th-order boundary-value differential equations. J. Comput. Appl. Math. 2002, 145, 223–235. [Google Scholar] [CrossRef]
  24. Meštrović, M. The modified decomposition method for 8th-order boundary value problems. Appl. Math. Comput. 2007, 188, 1437–1444. [Google Scholar]
  25. Mohyud-Din, S.T.; Noor, M.A.; Noor, K.I. Exp-function method for solving higher-order boundary value problems. Bull. Inst. Math. Acad. Sin. New Ser. 2009, 4, 219–234. [Google Scholar]
  26. Noor, M.A.; Mohyud-Din, S. Homotopy method for solving 8th order boundary value problems. J. Math. Anal. Approx. Theory 2006, 1, 161–169. [Google Scholar]
  27. Noor, M.A.; Mohyud-Din, S.T. Homotopy perturbation method for solving nonlinear higher-order boundary value problems. Int. J. Nonlinear Sci. Numer. Simul. 2008, 9, 395–408. [Google Scholar] [CrossRef]
  28. Noor, M.A.; Mohyud-Din, S.T. Variational iteration method for solving higher-order nonlinear boundary value problems using He’s polynomials. Int. J. Nonlinear Sci. Numer. Simul. 2008, 9, 141–156. [Google Scholar] [CrossRef]
  29. Paliwal, D.; Pande, A. Orthotropic cylindrical pressure vessels under line load. Int. J. Press. Vessels Pip. 1999, 76, 455–459. [Google Scholar] [CrossRef]
  30. Reddy, A.P.; Harageri, M.; Sateesha, C. A numerical approach to solve 8th order boundary value problems by Haar wavelet collocation method. J. Math. Model. 2017, 5, 61–75. [Google Scholar]
  31. Reddy, S.M. Numerical solution of 8th order boundary value problems by Petrov-Galerkin method with quintic B-splines as basic functions and septic B-splines as weight functions. Int. J. Eng. Comput. Sci. 2016, 5, 17894–17901. [Google Scholar]
  32. Sharma, S.K. Free Vibrations of Circular Cylindrical Shells. Master’s Thesis, Missouri University of Science and Technology, Rolla, MO, USA, 1971. [Google Scholar]
  33. Shen, I. Hybrid damping through intelligent constrained layer treatments. J. Vib. Acoust. 1994, 116, 341–349. [Google Scholar] [CrossRef]
  34. Viswanadham, K.K.; Raju, Y.S. Quintic B-Spline Collocation Method for 8th boundary value problems. Adv. Comput. Math. Appl. 2012, 1, 47–52. [Google Scholar]
  35. Viswanadham, K.K.; Raju, Y.S. Sextic B-Spline Collocation Method for 8th Order Boundary Value Problems. Int. J. Appl. Sci. Eng. 2014, 12, 43–57. [Google Scholar]
  36. Viswanadham, K.K.; Ballem, S. Numerical Solution of 8th Order Boundary Value Problems by Galerkin Method with Quintic B-splines. Int. J. Comput. Appl. 2014, 89, 7–13. [Google Scholar]
  37. Viswanadham, K.K.; Raju, Y.S. Numerical solution of 8th order boundary value problems by Galerkin method with septic B-splines. Procedia Eng. 2015, 127, 1370–1377. [Google Scholar] [CrossRef]
  38. Wazwaz, A.-M. The numerical solution of special 8th-order boundary value problems by the modified decomposition method. Neural Parallel Sci. Comput. 2000, 8, 133–146. [Google Scholar]
Figure 1. Graphical comparison of Problem 1 at h = 1 10 and h = 1 5 .
Figure 1. Graphical comparison of Problem 1 at h = 1 10 and h = 1 5 .
Mathematics 07 00508 g001
Figure 2. Graphical comparison of Problem 2 at h = 1 10 and h = 1 5 .
Figure 2. Graphical comparison of Problem 2 at h = 1 10 and h = 1 5 .
Mathematics 07 00508 g002
Figure 3. Graphical comparison of Problem 3 at h = 1 10 and h = 1 5 .
Figure 3. Graphical comparison of Problem 3 at h = 1 10 and h = 1 5 .
Mathematics 07 00508 g003
Figure 4. Graphical comparison of Problem 4 at h = 1 10 and h = 1 5 .
Figure 4. Graphical comparison of Problem 4 at h = 1 10 and h = 1 5 .
Mathematics 07 00508 g004
Figure 5. Graphical comparison of Problem 5 at h = 0.06487213 and h = 0.12974426 .
Figure 5. Graphical comparison of Problem 5 at h = 0.06487213 and h = 0.12974426 .
Mathematics 07 00508 g005
Figure 6. Graphical comparison of Problem 6 at h = 1 10 and h = 1 5 .
Figure 6. Graphical comparison of Problem 6 at h = 1 10 and h = 1 5 .
Mathematics 07 00508 g006
Table 1. Values of B ( z ) , B ( 1 ) ( z ) and B ( 2 ) ( z ) at the nodes.
Table 1. Values of B ( z ) , B ( 1 ) ( z ) and B ( 2 ) ( z ) at the nodes.
B i ( z ) B i ( 1 ) ( z ) B i ( 2 ) ( z )
z i 2 000
z i 1 1/6 1 / 2 h 1 / h 2
z i 4/60−2/ h 2
z i + 1 1/6−1/2h1/ h 2
z i 2 , z i + 2  and all others000
Table 2. Comparison of exact solution and Cubic B-spline solution of Problem 1 at h = 1 10 .
Table 2. Comparison of exact solution and Cubic B-spline solution of Problem 1 at h = 1 10 .
zExact Solution ofCubic B-Spline SolutionAbsolute Error of CBS[31]
01100
0.10.994653826268080.994640030399711.38 × 10 5 5.96 × 10 7
0.20.977122206528140.977064606678365.76 × 10 5 6.56 × 10 7
0.30.944901165303200.944773452087061.28 × 10 4 1.19 × 10 7
0.40.895094818584760.894889244637642.06 × 10 4 9.54 × 10 7
0.50.824360635350060.824098336748022.62 × 10 4 2.03 × 10 6
0.60.728847520156200.728576395555922.71 × 10 4 3.70 × 10 6
0.70.604125812241140.603904116096092.22 × 10 4 5.07 × 10 6
0.80.445108185698490.444978048905101.30 × 10 4 4.29 × 10 6
0.90.245960311115700.245921459699773.89 × 10 5 2.15 × 10 6
10000
Table 3. Comparison of exact solution and Cubic B-spline solution of Problem 1 at h = 1 5 .
Table 3. Comparison of exact solution and Cubic B-spline solution of Problem 1 at h = 1 5 .
zExact Solution ofCubic B-Spline SolutionAbsolute Error of CBS
0110
0.20.977122206528140.976910027525302.12 × 10 4
0.40.895094818584760.894373246569627.22 × 10 4
0.60.728847520156200.727926270665559.21 × 10 4
0.80.445108185698490.444664107375814.44 × 10 4
1000
Table 4. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 1.
Table 4. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 1.
zCubic B-Spline Solution of w ( 1 ) ( z ) Exact Solution of w ( 1 ) ( z ) Absolute Error of w ( 1 ) ( z ) Exact Solution of w ( 2 ) ( z ) Cubic B-Spline Solution of w ( 2 ) ( z ) Absolute Error of w ( 2 ) ( z ) Exact Solution of w ( 3 ) ( z ) Cubic B-Spline Solution of w ( 3 ) ( z ) Absolute Error of w ( 3 ) ( z )
0000−1−10−2−20
0.1−0.1105−0.11082.82 × 10 4 −1.2157−1.21602.94 × 10 4 −2.3208−2.32675.87 × 10 3
0.2−0.2443−0.24495.85 × 10 4 −1.4649−1.46533.38 × 10 4 −2.6738−2.68056.62 × 10 3
0.3−0.4049−0.40577.79 × 10 4 −1.7493−1.75212.74 × 10 3 −3.0637−3.08422.05 × 10 2
0.4−0.5966−0.59747.20 × 10 4 −2.0758−2.08226.37 × 10 3 −3.5308−3.55562.48 × 10 2
0.5−0.8243−0.82473.58 × 10 4 −2.4533−2.46329.88 × 10 3 −4.0926−4.10721.46 × 10 2
0.6−1.0928−1.09312.11 × 10 4 −2.8918−2.90361.18 × 10 2 −4.7375−4.74648.87 × 10 3
0.7−1.4081−1.40897.61 × 10 4 −3.4016−3.41251.09 × 10 2 −5.4371−5.47553.84 × 10 2
0.8−1.7783−1.77941.01 × 10 3 −3.9914−3.99877.24 × 10 3 −6.2315−6.29216.06 × 10 2
0.9−2.2121−2.21297.34 × 10 4 −4.6685−4.67092.34 × 10 3 −7.1329−7.18925.63 × 10 2
1−2.7183−2.71830−5.4365−5.43650−8.1548−8.15480
Table 5. Comparison of exact solution and Cubic B-spline solution of Problem 2 at h = 1 10 .
Table 5. Comparison of exact solution and Cubic B-spline solution of Problem 2 at h = 1 10 .
zExact Solution ofCubic B-Spline SolutionAbsolute Error of CBS[31]
00000
0.10.099465382626810.099424059544874.13 × 10 5 2.46 × 10 7
0.20.195424441305630.195237037057621.87 × 10 4 8.19 × 10 7
0.30.283470349590960.283026877722384.43 × 10 4 1.99 × 10 6
0.40.358037927433910.357289877549397.48 × 10 4 4.29 × 10 6
0.50.412180317675030.411193649758509.87 × 10 4 6.19 × 10 6
0.60.437308512093720.436264388161961.04 × 10 3 7.18 × 10 6
0.70.422888068568800.422020250442598.68 × 10 4 7.03 × 10 6
0.80.356086548558800.355571873028695.15 × 10 4 5.06 × 10 6
0.90.221364280004130.221210105451311.54 × 10 4 2.41 × 10 6
10000
Table 6. Comparison of exact solution and Cubic B-spline solution of Problem 2 at h = 1 5 .
Table 6. Comparison of exact solution and Cubic B-spline solution of Problem 2 at h = 1 5 .
zExact Solution ofCubic B-Spline SolutionAbsolute Error of CBS
0000
0.20.195424441305630.194737194098356.87 × 10 4
0.40.358037927433910.355439245512902.60 × 10 3
0.60.437308512093720.433812626383073.50 × 10 3
0.80.356086548558800.354359278250851.73 × 10 3
1000
Table 7. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 2.
Table 7. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 2.
zCubic B-Spline Solution of w ( 1 ) ( z ) Exact Solution of w ( 1 ) ( z ) Absolute Error of w ( 1 ) ( z ) Exact Solution of w ( 2 ) ( z ) Cubic B-Spline Solution of w ( 2 ) ( z ) Absolute Error of w ( 2 ) ( z ) Exact Solution of w ( 3 ) ( z ) Cubic B-Spline Solution of w ( 3 ) ( z ) Absolute Error of w ( 3 ) ( z )
0110000−3−30
0.10.98360.98278.80 × 10 4 −0.3426−0.34562.96 × 10 3 −3.8792−3.9224.28 × 10 2
0.20.92820.92622.04 × 10 3 −0.7817−0.78442.69 × 10 3 −4.9174−4.92598.54 × 10 3
0.30.82350.82052.95 × 10 3 −1.3251−1.33075.61 × 10 3 −6.0474−6.12167.42 × 10 2
0.40.65640.65352.91 × 10 3 −1.9885−2.00872.02 × 10 2 −7.4939−7.59591.02 × 10 1
0.50.41220.41061.62 × 10 3 −2.8146−2.84993.53 × 10 2 −9.3467−9.41346.67 × 10 2
0.60.07410.07356.11 × 10 4 −3.8470−3.89144.44 × 10 2 −11.5887−11.61742.87 × 10 2
0.7−0.3768−0.37972.87 × 10 3 −5.1312−5.17344.22 × 10 2 −14.0766−14.23061.54 × 10 1
0.8−0.9714−0.97533.95 × 10 3 −6.7094−6.73752.81 × 10 2 −17.0029−17.25592.53 × 10 1
0.9−1.7405−1.74342.92 × 10 3 −8.6160−8.62468.62 × 10 3 −20.4391−20.67812.39 × 10 1
1−2.7183−2.71830−10.8731−10.87310−24.4645−24.46450
Table 8. Comparison of exact solution and Cubic B-spline solution of Problem 3 at h = 1 10 .
Table 8. Comparison of exact solution and Cubic B-spline solution of Problem 3 at h = 1 10 .
zExact Solution ofCubic B-Spline SolutionAbsolute Error of CBS[23]
00000
0.1−0.09883508248036−0.098839297955284.22 × 10 6 3.97 × 10 7
0.2−0.19072255756326−0.190749665119722.71 × 10 5 9.32 × 10 7
0.3−0.26892338806182−0.269007812614178.44 × 10 5 6.78 × 10 6
0.4−0.32711140753927−0.327280949683391.70 × 10 4 1.08 × 10 5
0.5−0.35956915395315−0.359820147436482.51 × 10 4 1.83 × 10 4
0.6−0.36137118297282−0.361659414411052.88 × 10 4 3.21 × 10 4
0.7−0.32855102049122−0.328805972507852.55 × 10 4 6.73 × 10 3
0.8−0.25824819272383−0.258407501425881.59 × 10 4 1.27 × 10 3
0.9−0.14883211282922−0.148882461140635.03 × 10 5 2.47 × 10 3
10000
Table 9. Comparison of exact solution and Cubic B-spline solution of Problem 3 at h = 1 5 .
Table 9. Comparison of exact solution and Cubic B-spline solution of Problem 3 at h = 1 5 .
zExact Solution ofCubic B-Spline SolutionAbsolute Error of CBS
0000
0.2−0.19072255756326−0.190862038715951.39 × 10 4
0.4−0.32711140753927−0.327780347861336.69 × 10 4
0.6−0.36137118297282−0.362412984819701.04 × 10 3
0.8−0.25824819272383−0.258825501888945.77 × 10 4
1000
Table 10. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 3.
Table 10. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 3.
zCubic B-Spline Solution of w ( 1 ) ( z ) Exact Solution of w ( 1 ) ( z ) Absolute Error of w ( 1 ) ( z ) Exact Solution of w ( 2 ) ( z ) Cubic B-Spline Solution of w ( 2 ) ( z ) Absolute Error of w ( 2 ) ( z ) Exact Solution of w ( 3 ) ( z ) Cubic B-Spline Solution of w ( 3 ) ( z ) Absolute Error of w ( 3 ) ( z )
0−1−10000770
0.1−0.9651−0.96529.15 × 10 5 0.69650.69648.24 × 10 5 6.89526.85843.68 × 10 2
0.2−0.8614−0.86183.78 × 10 4 1.37211.37174.41 × 10 4 6.58296.5592.39 × 10 2
0.3−0.6921−0.69287.36 × 10 4 2.01012.00821.85 × 10 3 6.07856.0744.53 × 10 3
0.4−0.4621−0.4638.89 × 10 4 2.59332.58656.82 × 10 3 5.41525.39032.49 × 10 2
0.5−0.1788−0.17946.47 × 10 4 3.09903.08631.27 × 10 2 4.53384.50962.42 × 10 2
0.60.14930.14933.15 × 10 5 3.50533.48841.69 × 10 2 3.44793.44772.11 × 10 4
0.70.51320.51257.00 × 10 4 3.79313.77581.73 × 10 2 2.27342.23483.86 × 10 2
0.80.89920.89811.14 × 10 3 3.94823.93531.29 × 10 2 0.98780.91467.32 × 10 2
0.91.29371.29289.15 × 10 4 3.96423.95875.46 × 10 3 −0.3822−0.4567.38 × 10 2
11.68291.682903.84423.84420−1.8070−1.80700
Table 11. Comparison of exact solution and presented method solution of Problem 4 at h = 1 10 .
Table 11. Comparison of exact solution and presented method solution of Problem 4 at h = 1 10 .
zExact SolutionPresented Method SolutionAbsolute Error[30]
01100
0.11.105170918075641.105177947124707.03 × 10 6 2.50 × 10 6
0.21.221402758160171.221439223539813.65 × 10 5 8.94 × 10 6
0.31.349858807576001.349946289642008.75 × 10 5 1.56 × 10 5
0.41.491824697641271.491964770259221.40 × 10 4 1.82 × 10 5
0.51.648721270700121.648889162179701.68 × 10 4 8.82 × 10 6
0.61.822118800390501.822274594576791.56 × 10 4 7.51 × 10 6
0.72.013752707470472.013862425449041.10 × 10 4 1.88 × 10 5
0.82.225540928492462.225594182136295.33 × 10 5 1.93 × 10 5
0.92.459603111156952.459615771500421.27 × 10 5 1.16 × 10 5
12.718281828459052.7182818284590500
Table 12. Comparison of exact solution and presented method solution of Problem 4 at h = 1 5 .
Table 12. Comparison of exact solution and presented method solution of Problem 4 at h = 1 5 .
zExact SolutionPresented Method SolutionAbsolute Error
0110
0.21.221402758160171.221468172047866.54 × 10 5
0.41.491824697641271.492034840746182.10 × 10 4
0.61.822118800390501.822372763457832.54 × 10 4
0.82.225540928492462.225657180030721.16 × 10 4
12.718281828459052.718281828459050
Table 13. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 4.
Table 13. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 4.
zCubic B-Spline Solution of w ( 1 ) ( z ) Exact Solution of w ( 1 ) ( z ) Absolute Error of w ( 1 ) ( z ) Exact Solution of w ( 2 ) ( z ) Cubic B-Spline Solution of w ( 2 ) ( z ) Absolute Error of w ( 2 ) ( z ) Exact Solution of w ( 3 ) ( z ) Cubic B-Spline Solution of w ( 3 ) ( z ) Absolute Error of w ( 3 ) ( z )
0110110110
0.11.10551.105341.67 × 10 4 1.10841.106771.60 × 10 3 1.12411.114629.45 × 10 3
0.21.22221.221824.20 × 10 4 1.22441.222921.52 × 10 3 1.22141.21121.02 × 10 2
0.31.35101.350425.61 × 10 4 1.34991.349018.51 × 10 4 1.34991.324852.50 × 10 2
0.41.49271.492264.40 × 10 4 1.49181.487893.93 × 10 3 1.49181.469782.20 × 10 2
0.51.64891.648818.64 × 10 5 1.64871.642965.76 × 10 3 1.64871.64493.82 × 10 3
0.61.82211.82183.19 × 10 4 1.82211.816875.25 × 10 3 1.85811.840091.80 × 10 2
0.72.01382.013195.60 × 10 4 2.01382.010982.77 × 10 3 2.07302.043392.96 × 10 2
0.82.22552.225025.22 × 10 4 2.22562.225551.03 × 10 5 2.27182.248652.31 × 10 2
0.92.45962.459332.71 × 10 4 2.46182.460711.11 × 10 3 2.46772.463654.05 × 10 3
12.71822.718202.71822.718202.71822.71820
Table 14. Comparison of exact solution and presented method solution of Problem 5 at h = 0.06487213 .
Table 14. Comparison of exact solution and presented method solution of Problem 5 at h = 0.06487213 .
zExact SolutionPresented Method SolutionAbsolute Error[30][34][36][37]
00000000
0.0640.06285472620.06285098843.74 × 10 6 3.42 × 10 7 1.42 × 10 7 2.01 × 10 7 2.94 × 10 6
0.1290.12199128850.12197863181.27 × 10 5 4.10 × 10 7 1.07 × 10 6 4.54 × 10 7 1.58 × 10 5
0.1940.17782512120.17780372622.14 × 10 5 2.68 × 10 7 3.37 × 10 6 1.52 × 10 6 2.91 × 10 5
0.2590.23070570200.23068006322.56 × 10 5 1.42 × 10 6 7.02 × 10 6 4.07 × 10 6 4.91 × 10 5
0.3240.28092981460.28090582962.40 × 10 5 3.34 × 10 6 9.54 × 10 6 6.71 × 10 6 7.34 × 10 5
0.3890.32875163790.32873377251.79 × 10 5 5.84 × 10 6 1.07 × 10 5 9.06 × 10 6 8.51 × 10 5
0.4540.37439052910.37438024081.03 × 10 5 7.90 × 10 6 1.03 × 10 5 1.00 × 10 5 6.54 × 10 5
0.5180.41803710820.41803295834.15 × 10 6 4.80 × 10 6 5.22 × 10 6 5.45 × 10 6 4.38 × 10 5
0.5830.45985806780.45985720868.59 × 10 7 2.41 × 10 6 2.41 × 10 6 2.59 × 10 6 2.31 × 10 5
0.6480.50.500000
Table 15. Comparison of exact solution and presented method solution of Problem 5 at h = 0.12974426 .
Table 15. Comparison of exact solution and presented method solution of Problem 5 at h = 0.12974426 .
zExact SolutionPresented Method SolutionAbsolute Error
0000
0.1290.121991288526260.121951031395824.03 × 10 5
0.2590.230705702040920.230623660238118.20 × 10 5
0.3890.328751637923820.328692117186885.95 × 10 5
0.5180.418037108292030.418022548689181.46 × 10 5
0.6480.50.50
Table 16. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 5.
Table 16. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 5.
zCubic B-Spline Solution of w ( 1 ) ( z ) Exact Solution of w ( 1 ) ( z ) Absolute Error of w ( 1 ) ( z ) Exact Solution of w ( 2 ) ( z ) Cubic B-Spline Solution of w ( 2 ) ( z ) Absolute Error of w ( 2 ) ( z ) Exact Solution of w ( 3 ) ( z ) Cubic B-Spline Solution of w ( 3 ) ( z ) Absolute Error of w ( 3 ) ( z )
0000000000
0.0640.93990.938978.81 × 10 4 −0.8799−0.88161.73 × 10 3 1.69841.679381.90 × 10 2
0.1290.88570.8857.35 × 10 4 −0.7797−0.78212.42 × 10 3 1.43261.411212.14 × 10 2
0.1940.83750.836985.41 × 10 4 −0.6955−0.69852.95 × 10 3 1.20011.187511.26 × 10 2
0.2590.79430.793953.28 × 10 4 −0.6252−0.6282.85 × 10 3 1.00411.003149.46 × 10 4
0.3240.75530.755151.40 × 10 4 −0.5662−0.56832.12 × 10 3 0.86170.853977.75 × 10 3
0.3890.71990.719947.23 × 10 6 −0.5162−0.51721.08 × 10 3 0.74630.735741.06 × 10 2
0.4540.68790.687826.17 × 10 5 −0.4727−0.47291.31 × 10 4 0.65060.643317.33 × 10 3
0.5180.65880.658413.50 × 10 4 −0.4336−0.43381.93 × 10 4 0.57180.570121.64 × 10 3
0.5830.63170.63143.10 × 10 4 −0.3988−0.39891.50 × 10 4 0.51160.507883.70 × 10 3
0.6480.60650.60650−0.3678−0.367800.44620.44620
Table 17. Comparison of exact solution and presented method solution of Problem 6 at h = 1 10 .
Table 17. Comparison of exact solution and presented method solution of Problem 6 at h = 1 10 .
zExact SolutionPresented Method SolutionAbsolute Error[30][36]
011000
0.10.904837418035960.904841019174593.60 × 10 6 6.56 × 10 7 3.58 × 10 7
0.20.818730753077980.818742871205081.21 × 10 5 9.54 × 10 6 6.32 × 10 6
0.30.740818220681720.740839085321792.09 × 10 5 4.11 × 10 6 1.90 × 10 5
0.40.670320046035640.670345969149922.59 × 10 5 6.74 × 10 6 3.10 × 10 5
0.50.606530659712630.606556285701622.56 × 10 5 8.76 × 10 6 3.64 × 10 5
0.60.548811636094030.548832303127472.07 × 10 5 8.40 × 10 6 3.17 × 10 5
0.70.496585303791410.496598630752831.33 × 10 5 5.84 × 10 6 1.93 × 10 5
0.80.449328964117220.449335261638876.30 × 10 6 2.95 × 10 6 7.18 × 10 6
0.90.406569659740600.406571247983081.59 × 10 6 1.22 × 10 6 1.46 × 10 6
10.367879441171440.36787944117144000
Table 18. Comparison of exact solution and presented method solution of Problem 6 at h = 1 5 .
Table 18. Comparison of exact solution and presented method solution of Problem 6 at h = 1 5 .
z Exact SolutionPresented Method SolutionAbsolute Error
0110
0.20.818730753077980.818772640489344.19 × 10 5
0.40.670320046035640.670409095688598.90 × 10 5
0.60.548811636094030.548884617962207.30 × 10 5
0.80.449328964117220.449352166961612.32 × 10 5
10.367879441171440.367879441171440
Table 19. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 6.
Table 19. Absolute errors at all derivatives at h = 1 10 where boundary conditions are defined in Problem 6.
zCubic B-Spline Solution of w ( 1 ) ( z ) Exact Solution of w ( 1 ) ( z ) Absolute Error of w ( 1 ) ( z ) Exact Solution of w ( 2 ) ( z ) Cubic B-Spline Solution of w ( 2 ) ( z ) Absolute error of w ( 2 ) ( z ) Exact Solution of w ( 3 ) ( z ) Cubic B-Spline Solution of w ( 3 ) ( z ) Absolute Error of w ( 3 ) ( z )
0110110110
0.1−0.9047−0.904776.80 × 10 5 0.90480.904612.26 × 10 4 −0.9048−0.909734.89 × 10 3
0.2−0.8185−0.818649.46 × 10 5 0.81870.818056.77 × 10 4 −0.8187−0.82415.37 × 10 3
0.3−0.7407−0.740747.43 × 10 5 0.74080.739791.03 × 10 3 −0.7408−0.744353.53 × 10 3
0.4−0.6703−0.67032.49 × 10 5 0.67030.669181.14 × 10 3 −0.6703−0.67139.77 × 10 4
0.5−0.6065−0.606562.87 × 10 5 0.60650.605539.99 × 10 4 −0.6042−0.605371.16 × 10 3
0.6−0.5488−0.548886.57 × 10 5 0.54880.548117.02 × 10 4 −0.5444−0.546582.23 × 10 3
0.7−0.4966−0.496667.57 × 10 5 0.49660.496223.70 × 10 4 −0.4924−0.49452.09 × 10 3
0.8−0.4493−0.449396.08 × 10 5 0.44930.449211.19 × 10 4 −0.4472−0.448281.04 × 10 3
0.9−0.4066−0.40663.17 × 10 5 0.40660.406561.09 × 10 5 −0.4066−0.406658.18 × 10 5
1−0.3678−0.367800.36780.36780−0.3678−0.36780

Share and Cite

MDPI and ACS Style

Khalid, A.; Naeem, M.N.; Ullah, Z.; Ghaffar, A.; Baleanu, D.; Nisar, K.S.; Al-Qurashi, M.M. Numerical Solution of the Boundary Value Problems Arising in Magnetic Fields and Cylindrical Shells. Mathematics 2019, 7, 508. https://doi.org/10.3390/math7060508

AMA Style

Khalid A, Naeem MN, Ullah Z, Ghaffar A, Baleanu D, Nisar KS, Al-Qurashi MM. Numerical Solution of the Boundary Value Problems Arising in Magnetic Fields and Cylindrical Shells. Mathematics. 2019; 7(6):508. https://doi.org/10.3390/math7060508

Chicago/Turabian Style

Khalid, Aasma, Muhammad Nawaz Naeem, Zafar Ullah, Abdul Ghaffar, Dumitru Baleanu, Kottakkaran Sooppy Nisar, and Maysaa M. Al-Qurashi. 2019. "Numerical Solution of the Boundary Value Problems Arising in Magnetic Fields and Cylindrical Shells" Mathematics 7, no. 6: 508. https://doi.org/10.3390/math7060508

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop