DIFFERENTIAL EQUATIONS AND THE BETHE ANSATZ