Basically, there are two main types of collision, elastic collision, and inelastic collision. The basic difference between elastic and inelastic…