Abstract

Design problems in structural engineering are often modeled as differential equations. These problems are posed as initial or boundary value problems with several possible variations in structural designs. In this paper, we have derived a mathematical model that represents different structures of beam-columns by varying axial load with or without internal forces including bending rigidity. We have also developed a novel solver, the LeNN-NM algorithm, which consists of weighted Legendre polynomials, and a single path following optimizer, the Nelder–Mead (NM) algorithm. To evaluate the performance of our solver, we have considered three design problems representing beam-columns. The values of performance indicators, MAD, TIC, NSE, and ENSE, are calculated for a hundred simulations. The outcome of our statistical analysis points to the superiority of the LeNN-NM algorithm. Graphical illustrations are presented to further elaborate on our claims.

1. Introduction

Most of the problems arising in numerical science and engineering such as physics, biology, economics, mathematics, and astronomy are modeled as differential equations with initial or boundary values. The modeling enables us to analyze and understand the concept of a particular event in a precise way. Thus, finding an exact and analytical solution for such models gained immense importance in recent years. Generally, finding exact solutions to the physical problems modeled as differential equations is a difficult task and, in most cases, the analytic solution does not exist. Therefore, it becomes necessary to study numerical methods for finding solutions to the differential equations representing physical phenomenon.

Among various proposed methods for solving ODE’s, to solve the two-point Boundary value problem (BVP), a finite difference method [1] was proposed. For solving fourth-order and sixth-order BVP’s, the homotopy perturbation method [2, 3] is proposed. Multipoints’ BVP’s are solved by optimal homotopy ssymptotic proposed by Ali [4]. Also, for the solution of two-points and multipoints’ BVP’s of higher order, a domain decomposition method [57] was developed. Jacobi polynomials were used by Doha [8] to propose a spectral Galerkin algorithm for two-points’ BVP’s of third and fifth order. For the solution of even order DEs, Chebyshev polynomials are used by Doha [9] to develop spectral Galerkin algorithm. Shannon wavelet method [10], Haar wavelets method [11], Saadatmandi and Dehghan technique [12], a fifth-fourth continuous block implicit hybrid method [13], and spectral Bernstein residual method [14] were proposed for the solution of higher-order differential equations. To solve higher-order linear and nonlinear differential equations with two boundary values, variational methods [1517] were introduced. In recent years, many techniques have been developed to solve nonlinear stiff models, i.e., blood flow of Ree Eyring fluid [18] and numerical study of the DNA dynamics arising in oscillator chain of the Peyrard–Bishop model [19]. Besides the advantages that these methods give a good approximation to the solution, it is required to have an initial guess near a required solution and the approximate solution is differentiable and continuous in the domain, and hence, it seriously affects the stability of these numerical techniques.

Artificial neural networks are one of the intelligent techniques in solving different types of differential equations. The results obtained by the approximation through neural networks are close enough to the analytic or exact solution. In general, neural networks are widely used to solve fractional differential equations, integro differential equations (IDEs), partial differential equations (PDEs), and ordinary differential equations (ODEs). Feedforward artificial neural networks are used to solve two-point boundary value problems (BVP’s) of fourth order. Higher-order ODE’s with boundary values are solved by the radial basis activation function in neural networks as presented by Mai-Duy [20].

According to no free lunch theorem, researchers are compelled to hybridize the strengths of two or more techniques so that high-quality solutions are calculated with fewer efforts. In recent times, metaheuristic techniques have gained the attention of researchers in various fields of science and engineering. Impacts of different crossover operators are investigated for handling multiobjective problems [21]. A plant propagation algorithm (PPA) and its modified version were developed to solve design engineering problems [22]. In electrical engineering, several methodologies are used to solve complex optimization problems [23]. Optimal design and temperature distribution of heat fin is solved by using hybridization of artificial neural networks and metaheuristic algorithms [24, 25] and, furthermore, oscillatory behavior of heart beat [26]. Most of the real-application problems are highly nonlinear ODEs and provide less information about the continuity and differentiability of resulting solutions in solution space. The authors of this paper are addressing this issue and hence developed a novel solver that combines weighted Legendre polynomials and an efficient single path following optimizer the Nelder–Mead (NM) algorithm. The outcome of our experiments dictates that the LeNN-NM algorithm can handle ODEs and provide quality solutions.

Salient features of this research are summarized as follows:(i)We have derived a mathematical model that represents different structures of beam-columns. By varying axial load with or without internal forces including bending rigidity, we have studied different cases of the problem.(ii)We have also developed a novel solver, the LeNN-NM algorithm, which consists of weighted Legendre polynomials and a single path following optimizer the Nelder–Mead (NM) algorithm.(iii)A graphical overview of the novel LeNN-NM algorithm is presented in Figure 1.(iv)Three versions of the structural designs of beam-columns are analyzed with the help of LeNN-NM algorithm, see Problems 13.(v)To examine the quality of solutions calculated by LeNN-NM algorithm, we have calculated values of performance indicators mean absolute deviation (MAD), Theil’s inequality coefficient (TIC), Nash Sutcliffe efficiency (NSE), and error in Nash Sutcliffe efficiency (ENSE).(vi)Series solutions are presented in equations (30), (31), and (32), which may be used by researchers for further investigation.(vii)Our solutions are in strong agreement with reference solutions and absolute errors are less than the reference errors, see Tables 13.(viii)Graphical illustrations for performance indicators are presented in Figure 2. Lower values of MAD, TIC, and ENSE show that our solutions are of good quality.(ix)We have repeated our simulations for hundred times and overall performance is depicted in terms of fitness values, MAD, TIC, and ENSE, for 100 runs, see Figure 3.(x)The success rate of the LeNN-NM algorithm is shown by plotting the frequency graphs of fitness values, MAD, TIC, and ENSE, with normal distribution fittings. All these analyses dictate that the LeNN-NM algorithm is stable, efficient, and compatible for solving design engineering problems.

2. Mathematical Model Representing the Design of Beam-Columns

Most of the problems related to the physical phenomenon are modeled as differential equations. Higher-order differential equations appear in mathematical models of the elastic stability theory. Hence, most of the physical problems are posed with nonlinear and complex ODEs. To understand and analyze the design of beam-column, a differential relation should be developed between the various cross-sections of the physical problem.

Cross-section analysis of a beam-column problem is shown in Figure 1. An element at a distance , as shown in the figure, is taken from the cross-section of beam-column and is subject to both spread load perpendicular to the axis and the axial load , see Figure 1. Internal forces may arise in the element, and mathematically, it can be written as

Equilibrium equation in y-direction can be written as an ordinary differential equation given in [2931]:

The sum of forces acting on each surface of the cross-section element will be the same because of the equilibrium state. Mathematically, it can be written aswhere M is the bending moment that tries to bend the cross-section element and V is the shear force acting on the surface of the element.

If we assume that rotations are small and if we neglect the terms of second order in , then equation (3) becomes

Since the rotations are assumed to be small and , then equation (4) can be written aswhere bending rigidity is denoted by . Taking derivative on both sides of equation (5) with respect to , then we get differential equation of fourth order for the elastic curve and is given as

3. Approximate Solutions and Weighted Legendre Polynomials

Higher-order boundary value problems occur in several areas of applied mathematics, fluid mechanics, elasticity, and quantum mechanics, as well as other branches of science and engineering.

Consider a general form of fourth-order ODE aswhere , ,, and are constants, is the independent variable, is the dependent variable, and and are bounds on the independent variable.

Prior to the discussion of the approximate solution in equation (1) for the differential equation, the weighted Legendre polynomials are discussed first. denotes the Legendre polynomials. Here, denotes order of Legendre polynomials. These polynomials are orthogonal and thus form a set of orthogonal polynomials on the basis of . In Table 4, the first ten Legendre polynomials are given.

The recursive formula given below generates higher-order Legendre polynomials:

Approximate series solution for equation (7) is considered aswhere , , and are unknown parameters. Since, order continuous derivatives of equation (9) exist, so first, second, third, and fourth derivative of equation (9) is given bywhere , , and are real-valued unknown parameters. Plugging equations (10)–(13) in equation (7),where . Equation (7) is now converted into an equivalent algebraic system of equations. Equation (14) can be solved for unknown parameters , , and using an efficient solver such as the LeNN-NM algorithm. All the symbols and abbreviations used in the paper are defined in Table 5.

4. Nelder–Mead Algorithm

Nelder–Mead (NM) algorithm is a single-path following optimizer and is used in this paper to optimize the fitness function developed for each problem. To reduce a function, NM algorithm sets up the simplex by using points. Such points are defined as the vector directions on an -dimensional search space. In recent times, NM algorithm is used to find numerical solution of the dynamical model of Li-ion batteries for electric vehicle [32], nonlinear Muskingum models [33], economic load dispatch problem with valve point loading effect [34], optimization of TIG welding parameters [35], optimization of noisy CNLS problems [36], and parameter identification of chaotic systems [37]. Implementation of NM algorithm is based on four basic operators [38]. Below, we present details of these operators:

4.1. Reflection

Reflection point is determined bywhere is called centroid and is defined as

Reflection coefficient is denoted by .” is accepted, and iterations are terminated if .

4.2. Expansion

To calculate expansion point, equation (17) is used:

Equation (17) will be evaluated if value of function at is less then . Expansion coefficient is denoted by . If , then we accept “,” and the process of iteration is terminated. will be accepted if the above condition is not satisfied.

4.3. Contraction

If , then the process of contraction occurs.(1)Outside contraction is performed by equation (18) if :where “” is coefficient of contraction. We accept “” if . Otherwise, NM algorithm will move to the shrinking step.(2)Inside contraction is performed if . Otherwise, NM algorithm will move to the shrink step.

4.4. Shrink

The process of shrinking is modeled bywhere “” denotes shrink coefficient. The subsequent shrinkage of the simplex is expressed as for the succeeding iterations.

5. Our Proposed LeNN-NM Algorithm

Steps for the proposed technique are summarized as follows:Step 1: initialize a random population of weights and define a fitness function. Approximate solution is constructed by using activation function given by equation (9).Step 2: solution along with higher derivatives are approximated at arbitrary generated search points.Step 3: put approximate solution along with higher derivatives in a given differential equation.Step 4: an equivalent set of system of algebraic equations corresponding to given differential equation will be generated by Step 3.Step 5: optimize the system unknown parameters , , and using LeNN.Step 6: Nelder–Mead algorithm will start the process of optimizing the system by taking , , and as its initial guess.Step 7: Nelder–Mead algorithm evaluates the fitness function, and the results will be displayed when the stopping criteria are achieved.Step 8: best values for the weights , , and obtained will be plugged in approximate solution equation (9).Step 9: it will be the solution.

Working strategy of proposed algorithm is also shown in Figure 4. Parameters’ setting for LeNN and NM algorithm is given in Table 6.

6. Performance Indicators

To study the performance of LeNN-NM technique for solving Beam equations, the performance indications such as mean absolute deviation (MAD), Theil’s inequality coefficient (TIC), and error in Nash Sutcliffe efficiency (ENSE) are implemented. The formulation of these performance indices are given by [38]wherewhere represents the number the mesh points.

7. Numerical Applications

Problem 1. Consider the homogenous beam equation of the fourth order with bending rigidity [27], , , and :with boundary conditionsThe exact solution for the physical problem modeled as equation (22) is given byThe result obtain by LeNN-NM algorithm along with absolute errors is given in Table 1 and graphically illustrated through Figures 5(a) and 6(a), respectively. The unknown parameters achieved by the proposed method are revealed in Table 7. The result of MAD, TIC, and ESNE for equation (22) is shown in Figures 2 and 3. Normal provability plots for fitness evaluation, MAD, TIC, and ENSE, are shown in Figures 710, respectively. Hence, the graphs and tables show the dominance of LeNN-NM algorithm in solving higher-order ordinary differential equations subjecting to multiple initial or boundary conditions.

Problem 2. Consider the nonhomogenous linear beam equation of the fourth order with bending rigidity [28], , , and , forwith boundary conditionsThe exact solution for equation (25) is . The result obtained by LeNN-NM algorithm is compared with the spline method [28] and given in Table 2. Figures 5(b) and 6(b) show that the solution obtained by proposed algorithm overlaps the exact solution with minimum absolute errors. Unknown neurons in LeNN structure for optimization of Problem 2 are shown in Figure 11. The result of MAD, TIC, and ESNE for equation (24) is shown in Figures 2 and 3. Normal provability plots for fitness evaluation, MAD, TIC, and ENSE, are shown in Figures 710, respectively. The statistical analysis shows the dominance of the proposed method.

Problem 3. Consider the homogenous linear beam equation of the fourth order with bending rigidity [28], , , and :with boundary conditionsThe exact solution for equation (27) is given byThe result obtained by LeNN-NM algorithm along with absolute errors are given in Table 3 and graphically presented through Figures 5(c) and 6(c), respectively. The unknown parameters achieved by the proposed method are revealed in Table 7. Convergence of the fitness value during 100 independent runs of the proposed algorithm is shown in Figure 12. The result of MAD, TIC, and ESNE for equation (27) is shown in Figures 2 and 3. Normal provability plots for fitness evaluation and performance measures are shown through Figures 710, respectively.
Approximate series solution for Problem 1 is given asApproximate series solution for Problem 2 is given asApproximate series solution for Problem 3 is given as

8. Conclusion

In this paper, we have modeled physical problems arising in the beam-column theory as the fourth ordinary differential equation. Moreover, the paper presents a technique which is named as LeNN-NM algorithm for solving an ordinary differential equation of higher order subjecting to single or multi-initial boundary conditions. The different cases of beam equations are studied and have been solved by the proposed technique. The results given in Tables 13 show that LeNN-NM algorithm converges rapidly and dominates the existing algorithm in literature for finding solutions to higher-order differential equations such as beam equations. The analysis reveals that the proposed algorithm looks like a promising methodology to be exploited as an alternate, accurate, reliable, and robust computing framework for solving a variety of the problems arising in astrophysics, atomic physics, plasma physics, nonlinear optic, electric machines, nanotechnology, fuel ignition model, fluid dynamics, bioinformatics, and financial mathematics. The proposed method gives the direction of using the proposed algorithm for solving fractional differential equations.

Data Availability

The data used to support the findings of the study are available within the article.

Conflicts of Interest

The authors have no conflicts of interest to declare.

Authors’ Contributions

All authors have seen and agreed with the contents of the manuscript.

Acknowledgments

This work was sponsored in part by the Open Project Program of Fujian University Engineering Research Center of Disaster Prevention and Reduction of Southeast Coastal Engineering Structure (no. 2019004).