An inverse problem in differential equations