Since gravity is a conservative force, the cow's initial velocity and final velocity must be the same magnitude, only in the opposite direction...
5550 m/s