This demonstration displays the impulsive force in a collision as a function of time using the Pasco dynamics track. The track is elevated at one end and the cart is allowed to accelerate with the force sensor connected. Data Studio [1] is used to measure and plot the force as a function of time. The momentum is just the area under this curve.
Links:
[1] https://demoweb.physics.ucla.edu/node/416