Summary: The authors consider solitary wave solutions of the generalized equal width (GEW) wave equation . This paper presents a collocation method for the GEW equation, which is classified as a nonlinear partial differential equation using quadratic B-splines at midpoints as element shape functions. In this research, the scheme of the equation under investigation is found to be unconditionally stable.
Test problems including the single soliton and the interaction of solitons are used to validate the suggested methods that is found to be accurate and efficient. The three invariants of the motion are evaluated to determine the conservation properties of the generated scheme. Finally, a Maxwellian initial condition pulse is then studied.