Displays a simulation of a projectile, and outputs the x value(s) at a particular y final