Inertia in the middle ages