My goal is to compute an angle + velocity combination to hit a target at point $(x,y)$ in exactly $t$ seconds. (Uniform gravity, no drag, no wind)
I know that the general formula for trajectory is:
$x = vt \cos \theta$,
$y = vt \sin \theta - \frac{1}{2} g t^2$.
But the problem is I think I can't solve the equation with only 2 inputs, $x$, $y$ and $t$.
Any ideas would be gladly appreciated, thank you for your brain time.