title: Need help deciphering a formula for Projectile Motion
body: <p>I need to implement a bit of AI to figure out how to hit a target with projectile motion. </p>
  
  <p>I found this over at wikipedia:</p>
  
  <p><a href="http://en.wikipedia.org/wiki/Trajectory_of_a_projectile#Angle_.CE.B8_required_to_hit_coordinate_.28x.2Cy.29" rel="nofollow noreferrer">Angle required to hit coordinate</a></p>
  
  <p>Which looks like just the thing I need, especially since I have the added problem launching the projectile from above zero height. However, my maths skills aren't great so it all looks like complete nonsense to me and I have no idea how to translate any of it into code. </p>
  
  <p>If anyone can break this down into something I can understand with basic operators (+ - * %) and functions (sin, cos, sqrt etc.), I'd really appreciate it. </p>