A 10000 kg train car A traveling at a speed of 24 m/s strikes an identical car B initially at rest. If the cars lock together as a result of the collision, calculate the amount of the initial kinetic energy is transformed into thermal or other forms of energy.