On the Exact Solution of Certain Nonlinear Dispersive Wave Equations