Optical solitons in parabolic law medium: Jacobi elliptic function solution