Calculates projectile motion in Java and the required speed of a flywheel to launch it, used for FTC launcher.