Dear Sir,

Would you please give the definition (mathematical expression) of coefficient of restitution in terms of the velocities of masses before and after collision?

Is the kinetic energy of the system consisting of the two masses conserved in an elastic collision?

I suppose you are stating that some of the kinetic energy gets transformed into heat and is lost from the system when the collision is inelastic. I want you to confirm this please.