Abstract

The paper presents a novel method that allows one to establish numerical solutions of linear and nonlinear ordinary differential equations—with polynomial coefficients—that contain any finite products of the unknown functions and/or their general derivatives. The presented algorithm provides numerical solutions of these differential equations subject to initial or boundary conditions. This algorithm proposes the desired solution in terms of B-polynomials (Bernstein polynomial basis) and then uses the orthonormal relation of B-polynomials with its weighted dual basis with respect to the Jacobi weight function to construct a linear/nonlinear system in the unknown expansion coefficients which can be solved using a suitable solver. The properties of B-polynomials provide greater flexibility in which to impose the initial or boundary conditions at the end points of the interval [0, R] and enable us to obtain exactly and explicitly some of the unknown expansion coefficients in the form of a suggested numerical solution. Consequently, the presented algorithm leads to a linear or nonlinear algebraic system in the unknown expansion coefficients that has a simpler form than that was obtained by the other algorithms. So that, this procedure is a powerful tool that we may utilize to overcome the difficulties associated with boundary and initial value problems with less computational effort than the other techniques. An accepted agreement is obtained between the exact and approximate solutions for the given examples. The error analysis was also studied, and the obtained numerical results clarified the validity of the theoretical results.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call