A new functional form to obtain analytical potentials of triatomic molecules