Through trial and error, the angle required for the rifle to hit a target in the center is determined.