View Single Post
  #35  
Old August 17th, 2007, 09:37 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: OT: Looking for a good physics site

You're getting out of the intercept routine a time and a location right?

The ship should simply accelerate at the rate passed into the routine, and in such a direction as to end up at the returned location at the returned time.

That part is just another (Once for each dimension) application of the base formula S(t) = S(0) + Vt +A(t^2).

Within rounding error, the total acceleration will be equal to the acceleration passed into the routine originally.
(Don't forget Pythagoras)
Reply With Quote