Re: Travel Times

By Rob Miracle ·

TML message #238From bundle 22Read the whole thread (3 messages)All messages with this subject

In reply to #237 Travel Times by Rob Miracle Replies:
>I have a MegaTraveller Question that frankly has be baffled.  I was computing
>orbital periods and distances between the Gas Giant and main worlds.  I was
>trying to compute the travel time between the gas giant and the main world.
[Stuff Deleted]
>Now figuring that the folks at GDW had ran into this questions the mention
>something about an "In System Transfer" in the Imperial Encyclopedia under
>travel, but they mention nothing more about times or methods other than to say
>that you use "In System Transfer" to get to a gas giant.  I remember a journal
>article on the subject where you "goosed" the jump drives, but it goes against
>all normal jump drive rules.  No to mention that the fuel consumption would
>make gas giant refueling impractical.
>
>Does any one have any light on
>  a) In system Transfer
[I still have questions on this one!!!]

>  b) Better time computations to and from Gas Giants.
>
Ok, I should have read the books a little better,  (Thankful I still have my
old Traveller stuff :-) .)  Here is a little 'C' program that I whipped up
that computes travel times.
   o /
- ----X-- Snip Snip Snip --------------------------------------------------------
   o \
/* TTIME.C
   Rob Miracle

   Language:  Ansi 'C'.
   Date:      March 18, 1989

   This program computes travel times for Traveller, a role playing game by
   Game Designer's Workshop.  It takes the distance to be traveled in
   Kilometers and returns a table of times.  The times are in days, hours,
   minutes, and seconds.  Each line represents the 6 different manuver drives
   in the game.  It is listed in G's of acceleration.  The formulas are based
   on ones found in "The Traveller Book".  They were originally published in
   Traveller Book 2, "Starships".

   This program compiles correctly under Turbo 'C' V2.0 and VAX/VMS 'C'.
   The only possible incompatiblity is with the 'pow' function.

   This program is placed in the public domain and I don't think that I
   am infringing on anyone's copyrights.  No warrentys or guareentees implied
   and the author assumes no liability.
*/

#include <stdio.h>
#include <math.h>

main() {
    int i,j;
    double TDist,TAccl;
    double Seconds,Minutes,Hours,Days;
    char buffer[128];

    printf("Distance (Kilometers): ");
    gets(buffer);
    TDist = atof(buffer) * 1000.0;
    printf("Days     Hours    Minutes  Seconds\n");
    for(TAccl = 10.0; TAccl < 70.0; TAccl += 10.0) {
        Seconds = 2.0 * pow(TDist/TAccl,0.5);
        Minutes = Seconds / 60.0;
        Hours = Minutes / 60.0;
        Days = Hours / 24.0;
        printf("%-8.1f %-8.1f %-8.1f %-8.1f\n",Days,Hours,Minutes,Seconds);
    }
}

    o  /
- -----X------ Snip Snip Snip -------------------------------------------------
    o  \

Any help would be appreciated!
Thanks in Advance, Rob
- --
Rob Miracle              | Bitnet   : [email removed]    CIS: [email removed]
Programmer/Analyst-II    | INTERNET : [email removed]
University of Louisville | UUCP     : ...[email removed]