testing the trajectory of bullet