View Single Post
  #2   Spotlight this post!  
Unread 11-02-2012, 11:00
EthanPieper EthanPieper is offline
Registered User
FRC #4095
 
Join Date: Jan 2012
Location: Milwaukee Pius
Posts: 5
EthanPieper is an unknown quantity at this point
Continued...

Making some constants

Just for easier use. Also as an aside, now looking back on this J doesn't seem necessary because (Y - Yo) is already contained in parenthesis so it shouldn't matter if it get's changed into a constant or not.

Quadratic equation time!

We now have put this equation into where we can take it and put it into the quadratic equation.

And for ease

We just use the variables that we defined earlier just so that transitioning it into code will be easier.

Important stuff [READ]: If you take only the part under the square root sign, you can find out if it will reach the hoop or not. If it is less than zero, than it will not reach it, but if it is greater than zero it will reach it.

Hope this helps you if you're stuck. Also if you see a miscalculation please don't hesitate to call us out on it!

Last edited by EthanPieper : 11-02-2012 at 11:19.