Study of modulational instability and solitary wave solutions for class of nonlinear schrodinger equations