solve separable differential equation