Text this: Application of the Homotopy Perturbation Method to Solve Nonlinear Equations Arising in Oscillatory Systems