This article concerns with the construction of the analytical traveling wave solutions for the model of equations for the ion sound wave under the action of the ponderomotive force due to high-frequency field and for the Langmuir wave and the higher-order nonlinear Schrödinger equation by Riccati–Bernoulli sub-ODE method. We give the exact solutions for these two equations. The proposed method is effective tool to solve many other nonlinear partial differential equations. Moreover, this method can give a new infinite sequence of solutions. These solutions are expressed by hyperbolic, trigonometric and rational functions. Finally, with the aid of Matlab release 15, some graphical simulations were designed to see the behavior of these solutions.