Solving inverse problems for DEs using the collage theorem and entropy maximization