A bullet collides with a block and embeds in the block (completely inelastic collision). The block then slides across the floor.
You can change the parameters of the simulation here:
Modified from Andrew Duffy's web page at Boston University. The animation uses the Physlet Java Applets of Wolfgang Christian and Mario Belloni.