"The Twin Paradox"
The program sending one twin on a round tripo to a star 3.5 ltyrs away and bringing him home again accelarating at velocity g, has the traviling twin age 2400 days, while the stay-at home twin ages about 3723 days (rounding to the nearest day) The results of the program were printed out in an IDL text file.

I was unable to cut and past the results into this web page as per your instructions, but by lowering the intervals between computation of the steps to .1 and increading the number of steps to The difference between the inward and outward journey is -5.63X1010 meters. I claim the Earth would be in a diffrent part of the orbit so the overshoot could be nessasary ! :)

For part two we were to modify the program to test the results to the Jackson homework Each leg of the journy here was to take 5 years. (That comes to 1826.25 days) As I don't know hoe to make a for-next loop with fractional parts, I roundend to 1826 days. The distance traveled out matched the expected value, but once again the overshoot was a problem. With the farther distance it increased to 3.14 lt years, Apparently this rocket wanted to visit the first twin. This version of the program is basicly the same as the one above, with the acceleration times increased.