solve a differential equation - separable variables