finds kinetic energy of an object

same as the summary