In this paper we propose a reliable algorithm for the solution of nonlinear oscillators. Our algorithm is based upon the homotopy perturbation method (HPM), Laplace transforms, and Padé approximants. This modified homotopy perturbation method (MHPM) utilizes an alternative framework to capture the periodic behavior of the solution, which is characteristic of oscillator equations, and to give a ...