Texas X Files
X 1 2 3 4 5 6 7 8 9


the program
splash
overview
in/outputs
free download
source code

help files
introduction
starting off
the method
calculations
initial state
the plots
constants
print outs
Earth escape
Mars capture



















The Code - Fortran



You can read the source code here. This is an abridged edition, with most of the options hard coded to make the algorithm easier to follow.

The code is provided to illustrate that I have been able to optimize the Earth to Mars trajectory using just 50 pages of Fortan code. (The windows version is about twice as long as the above "longer version," but the working part is unchanged.) No third party optimization routine is required to find a solution - the code you find here is all you need to solve the problem. This code finds a solution in 30 seconds on a 333 MHz PC; other routines that solve this problem take much longer, on a more powerful machine, and with fewer variables. The significance of this routine is not necessarily that I have found a safer, faster, or better trajectory - but that I have done so with a shorter, more efficient, and simpler body of computer code.

© 2003 by will h. clark ii
_____________________________________
banner advertising below this line