New exact solution and simulation for the coupled nonlinear Schrödinger equations with variable coefficients