After the epic showdown, the leaders of the boar tiger defense team decide to commission the development of an arcade game simulating the battle. The head of the development team, Boris Grishenko (Борис Грищенко), recently resigned. He leaves for you a partially completed section of code which aims to show the paths that the cannonball and block trace out in time. Pick up where he left off.
To make things more exciting, the defense team requests that:
While you are at it, generate a plot of the total energy before and after the collision.
Code for Project 14: Part B
Keep them in the same directory.
Project 14 Code (showdown.py)
PhysUtil Module