-
We place our cannon at the origin (0, 0) and we set up the appropriate functions x[t] and y[t] for two dimensional projectile motion.

Input := 


x[t_] = 25 Cos[theta] t;

Input := 


y[t_] = -9.8/2 t^2 + 25 Sin[theta] t;