Perfectly Elastic And Inelastic Collisions