In this paper, the Lax-Wendroff difference scheme has been presented for solving the one-dimensional wave equation with integral boundary conditions. First, the given solution domain is discretized and the derivative involving the spatial variable is replaced by the central finite difference approximation of functional values at each grid point by using Taylor series expansion. Then, for solving the resulting second-order linear ordinary differential equation, the displacement function is discretized in the direction of a temporal variable by using Taylor series expansion and the Lax-Wendroff difference scheme is developed, then it gives a system of algebraic equations. The derivative of the initial condition is also discretized by using the central finite difference method. Then the obtained system of algebraic equations is solved by the matrix inverse method. The stability and convergent analysis of the scheme are investigated. The established convergence of the scheme is further accelerated by applying the Richardson extrapolation which yields fourth-order convergent in spatial variable and sixth-order convergent in a temporal variable. To validate the applicability of the proposed method, three model examples are considered and solved for different values of the mesh sizes in both directions. Numerical results are presented in tables in terms of maximum absolute error, and norm. The numerical results presented in tables and
Read full abstract