Abstract
We derive an envelope solitary-wave solution for the following generalized nonlinear Schrodinger equation Ut+ia2Uxx+a3Uxxx=ib mod U mod 2U+b1( mod U mod 2U)x by gauge transformation.