Title: Ordinary differential equations in Hilbert and Banach spaces, and applications