Calculation of Kinetic Energy for Moving Objects