University of TabrizComputational Methods for Differential Equations2345-398211220230401A numerical method for solving the Duffing equation involving both integral and non-integral forcing terms with separated and integral boundary conditions2412531500110.22034/cmde.2022.50054.2082ENMohammad RezaDoostdarDepartment of Mathematics, Zarandieh Branch, Islamic Azad University, Zarandieh, IranManochehrKazemiDepartment of Mathematics, Ashtian Branch, Islamic Azad University, Ashtian, IranAlirezaVahidiDepartment of Mathematics, Yadegar -e-Imam Khomeini (RAH) Shahre Rey Branch, Islamic Azad University, Tehran, IranJournal Article20220124This paper presents an efficient numerical method to solve two versions of the Duffing equation by the hybrid functions based on the combination of Block-pulse functions and Legendre polynomials. This method reduces the solution of the considered problem to the solution of a system of algebraic equations. Moreover, the convergence of the method is studied. Some examples are given to demonstrate the applicability and effectiveness of the proposed method. Also, the obtained results are compared with some other results. https://cmde.tabrizu.ac.ir/article_15001_c7c1ad5df26ae11cc861083caf87d8f8.pdf