home *** CD-ROM | disk | FTP | other *** search
/ Aztec Shareware Collection / SIMULATION.ISO / gravity / gravity.doc next >
Text File  |  1990-04-12  |  28KB  |  647 lines

  1. Documentation for GRAVITY.EXE
  2. Version 2.0
  3. Program and Documentation (C)opyright Steve Safarik
  4. Shareware Registration $30.00/$15.00 ($40.00/$20.00)
  5. ----------------------------------------------------
  6.  
  7.  
  8.  
  9.                        The Gravitational Simulator
  10.                        ===========================
  11.  
  12. Introduction
  13. ------------
  14.  
  15. Gravity version 2.0 is a powerful tool designed to simulate the
  16. motions of planetary bodies in space.  You may specify the
  17. following parameters for up to 16 bodies:  Mass, Density, Initial
  18. position, and Initial velocity.  The bodies are then plotted as
  19. they move according to the laws of gravitation.  You can view any
  20. location in space at any magnification.  You can also watch the
  21. motion of a single planet via a "tracking" feature.  Set up systems
  22. and play "what if..."  Elapsed time is optionally displayed, and
  23. nearly every variable is available for user adjustment.
  24.  
  25. The primary design philosophy of this program was that it had to
  26. be easy to learn and use by "mere humans".  Sometimes that's hard
  27. to do for a complex program, and I hope this version is as easy to
  28. operate as version 1.0.
  29.  
  30. This program was first designed as a tool for people to use to view
  31. the laws of motion and of gravity in action.  After the first
  32. release, users said that the main capability they desired was to
  33. be able to enter actual planetary systems into the simulator.
  34. Well, the reason no one could figure out how to do it, was because
  35. "it just wasn't possible."  So here we have version 2.0, a much
  36. more powerful program with a number of added functions.
  37.  
  38.  
  39. This documentation is organized as follows:
  40. -------------------------------------------
  41.  
  42.     Introduction
  43.     Equipment Required
  44.     How to Register
  45.     Files you should have
  46.     Changes New to version 2.0
  47.     Beginners
  48.     Advanced
  49.     File
  50.       Saving/Restoring Setups
  51.     Planet Editor
  52.       Planet Editor
  53.       16 Random Planets
  54.       Clear all Planets
  55.     Go
  56.       Orbits
  57.       Status Line
  58.       Central Planet Tracking
  59.       Zoom Box
  60.     Examples
  61.     Misc
  62.       Show Orbits On/Off
  63.       Display Grid On/Off
  64.       Elapsed Time On/Off
  65.        Dynamic Time Interval
  66.       Screen Write Method
  67.     Util - Adjust Constants
  68.       Zoom Power
  69.       Screen Center X/Y
  70.       Time Interval
  71.       Gravitational Constant
  72.       Calculations per Plot
  73.       Central Planet Tracking
  74.     Util - Change Video Mode
  75.     Format for Numbers
  76.     Accuracy Notes
  77.     Help with Setups
  78.     Technical Specifications
  79.  
  80.  
  81.  
  82. Equipment Required:
  83. -------------------
  84.  
  85. IBM compatible personal computer
  86. Graphics display (Hercules, CGA, EGA, VGA, At&t, 8514/a)
  87. Disk drive (Floppy or Hard)
  88. At least 384K free memory after boot-up
  89.  
  90. note1:  While this program will run in 384K free memory, some
  91. functions may not be available, and you may run out of memory in
  92. mid-simulation.  I recommend having a machine with the maximum 640K
  93. installed.  
  94.  
  95. note2:  A math coprocessor (80x87) will greatly increase the speed
  96. of the running simulations.
  97.  
  98.  
  99. How to Register
  100. ---------------
  101.  
  102. License registration fee is $15.00 for individuals, $30.00 for
  103. government, corporate, and educational users (cheap).  License fee
  104. of $20.00/$40.00 entitles you to receive the next version by mail. 
  105. Only one registration per address is necessary and registers you
  106. for future versions.  Registered users of version 1.0 are
  107. registered for version 2.0.  This is shareware and as such may be
  108. freely copied and given to others for trial use.  Please help
  109. support shareware authors.
  110.  
  111. Payment and other correspondence may be addressed to:
  112.         Steve Safarik
  113.         P.O. Box 45072
  114.         Seattle, WA  98145-0072
  115.  
  116. Let me know if there are any features you would like to see in
  117. future versions.  Suggestions from current users of version 1.0
  118. were included in version 2.0, and I'm sure that there are many more
  119. things people can think up.  If you have any problems with the
  120. program, remember: It's a feature, not a bug!  If you find any
  121. "features" that I didn't know about when the program was released,
  122. please let me know.
  123.  
  124.  
  125. Files You Should Have
  126. ---------------------
  127.  
  128. GRAVITY.EXE    The main executable file.
  129. GRAVITY.DOC    The documentation file.
  130. GRAVITY.HLP    Data file for on-line help.
  131.       *.GRV    Miscellaneous saved setups (may or may not be
  132.                included with your copy)
  133.  
  134.  
  135.  
  136.  
  137. Changes new to Version 2.0
  138. --------------------------
  139.  
  140. 1.    Version 2.0 operates "True to Life".  It is now possible to
  141.      enter actual systems and watch them execute. 
  142. 2.   A status line has been added to the running simulation.
  143. 3.   Elapsed time has also been added to the running simulation.
  144. 4.    Zoom capabilities have been added, making it possible to enter
  145.      systems which span small and large distances.  For example,
  146.      our own solar system has distances as small as Earth-Moon and
  147.      as large as Sun-Pluto occurring at the same time.  You may now
  148.      zoom-in and watch the inner three planets for example, or
  149.      zoom-out to see the whole system.
  150. 5.   The maximum number of defined planets has been increased from
  151.      eight to 16.
  152. 6.   You may view the simulation from either a fixed position in
  153.      space, or from the perspective of any one of the planets.
  154. 7.   Context-sensitive help has been added for each data input
  155.      field by pressing F1.
  156. 8.   Option added to automatically adjust the Time Interval
  157.      variable.
  158. 9.    The inaccuracy that existed in version 1.0 in the calculation
  159.      of planet movements has been removed to a large extent.
  160. 10.  Planets of zero mass, and single planets, now move properly.
  161. 11.  Planet radius is smaller than the size of version 1.0 to more
  162.      truly reflect the actual size in relation to distances. 
  163. 12.  Planets created out of collisions now have velocity of a mass-
  164.      weighted average of the two previous planet's velocities (sum
  165.      of their momentums), rather than just an average of their
  166.      velocities.
  167. 13.  A planet density variable has been added for each planet.
  168. 14.  You may now overwrite existing ".GRV" files.
  169.  
  170.  
  171.  
  172. BEGINNERS:
  173. ==========
  174.  
  175. When you first start the program, you will see the opening screen,
  176. and then a row of choices at the top of the screen with these
  177. words:
  178.  
  179. FILE    EDITOR    GO    EXAMPLES    MISC    UTIL
  180.  
  181. Move the menu-bar left and right and up and down with the arrow
  182. keys, and select a choice with the ENTER key.  The first thing to
  183. do is select one of the examples such as "Moon" and watch it run. 
  184.  
  185. Pressing Esc while it is running will stop the run and bring you
  186. back to the menus.  You can restart the simulation by selecting
  187. "Watch it Running" under the "Go" menu.  If you want to change any
  188. values for planets, select "Planet Editor" under the "Editor" menu.
  189.  
  190. Context-sensitive help is available at any of the data-entry fields
  191. by pressing F1.  This will display text describing the values that
  192. can be entered for that field.
  193.  
  194.  
  195.  
  196. ADVANCED USERS:
  197. ===============
  198.  
  199.  
  200. File - Saving/Restoring Setups
  201. ------------------------------
  202.  
  203. Under the "File" menu, select "Save" or "Restore".  Enter the full
  204. path and filename of the file.  If you do not specify a path, the
  205. current directory is assumed.  If you do not specify an extension,
  206. .GRV is appended.  Beginning with version 2.0 you can overwrite
  207. save files.  If the file already exists a prompt will appear on
  208. whether or not you want to overwrite the existing file.
  209.  
  210. Unfortunately, .GRV files from version 1.0 are not compatible with
  211. version 2.0.  Many variables have changed and functionality has
  212. been added so that even if the capability to read version 1.0 files
  213. were included, the setups would no longer operate the same.  This
  214. program now operates "True to Life" and systems you enter should
  215. be compatible with future versions.
  216.  
  217.  
  218. Planet Editor
  219. -------------
  220.  
  221. --- Planet Editor:  Values which can be changed individually for
  222. each planet are:  Mass, Density (new to 2.0), X position, Y
  223. position, X velocity, Y velocity, Orbits on/off, and Stationary
  224. on/off.  Orbits enables the dots that mark the path of the planet,
  225. while Stationary, when set to Yes, fixes the planet firmly in
  226. place.  Planets do not need to be entered as starting in view on
  227. the screen (they did in 1.0), you may position them anywhere and
  228. zoom-out to see them if you like.
  229.  
  230. Default value for all numerical entries is +0.00E+00 except for
  231. density which is +1.00E+03 (1000).  This is the density of water,
  232. and can be left at that unless you are modeling an actual planet. 
  233. The density field is used only in calculating the planet radius
  234. which, in turn, only affects collisions.
  235.  
  236. Version 1.0 allowed a maximum of 8 planets to be defined, while
  237. version 2.0 allows 16.
  238.  
  239. New position values are not calculated for stationary planets. 
  240. This, of course, is a fabricated condition which should not be used
  241. if you are modeling an actual system.  The editor is pretty much
  242. self explanatory other than that.  When you exit, all variables are
  243. reset to the editor values whether or not you made any changes,
  244. just as if you had selected "Reset to Start".  For information on
  245. numerical formats entered here, see the section below entitled
  246. "Format for Numbers".
  247.  
  248. --- 16 Random Planets:  (New to Version 2.0)  This selection will
  249. erase all existing planets and create 16 new ones.  Eight of them
  250. will have mass 1.0e+18, and eight will have 1.0e+15.  All have
  251. density 1.0e+03 (water).  The heavier ones will have velocity in
  252. the range 0 - 1.0e-03 and the lighter ones will be in the range 0 -
  253.  1.0e-01.  They will all start out visible on a screen at zoom
  254. 1.0e-07.  "16 Random Planets" was created as sort of a last-thought
  255. implementation to model a "gaseous cloud" which could turn into
  256. some sort of orbiting system.  I haven't really played around with
  257. it much, and I don't know if it will be very interesting.
  258.  
  259. --- Clear All Planets:  Will delete every planet and leave you with
  260. one blank editor window open.  Save your work before you select
  261. this option.
  262.  
  263.  
  264.  
  265. Go
  266. ------
  267.  
  268. There are now several functions available during the simulation as
  269. follows:
  270.  
  271. --- Orbits:  (New to version 2.0)  The dots marking planet paths
  272. are saved.  You can exit a running system and change certain
  273. variables (any of the constants, and any "Misc" selection), then
  274. come back and still have paths plotted.  The dots are saved in a
  275. circular queue 8100 dots in length (8100 is determined by the 64K
  276. segment limit of 80x86 processors).  The saved dots will be erased
  277. on any of the following conditions: changing any values in the
  278. editor, selecting a sample setup, restoring a file, reseting to
  279. start, or changing the video mode.  If you watch from the
  280. perspective of a Central Planet, the dots will be saved, but the
  281. previously saved ones will not be drawn.  When you switch back to
  282. a fixed view, the saved dots will all be drawn.  The display of
  283. orbits can be toggled on and off with the 'O' key.
  284.  
  285. If you have a limited amount of free memory on your machine (less
  286. than 200K after program start) the program will not save the dots
  287. in order to conserve memory.  Storing the 8100 dots requires 128K
  288. in itself.
  289.  
  290. --- Status Line:  (New to version 2.0)  While the planets are
  291. moving on the screen you first press the 'S' key, then one of the
  292. number keys on the keyboard, and the status for the corresponding
  293. planet will be displayed on the top line.  Pressing "S0" will turn
  294. this function off.  Values displayed are: Planet number, mass, X
  295. position, Y position, X velocity, and Y velocity.  Pressing the '0'
  296. key or the number of a deleted planet will turn the status line
  297. off.  When planets collide, the status switches to the live planet
  298. if one of the two was currently being displayed.  Updating the
  299. status line takes time and will considerably slow down the
  300. simulation.  Increasing "Calculations per Plot" may help with this.
  301.  
  302. For planet numbers 1 through 9, use the number keys.  For planet
  303. numbers 10 through 16, use the shifted keys 1 through 7,
  304. respectively:   !  @  #  $  %  ^  &.
  305.  
  306. --- Central Planet Tracking: (New to version 2.0)  You can view the
  307. simulation normally from a fixed location in space, or from the
  308. perspective of any one of the planets.  See information under
  309. "Adjust Constants" below.
  310.  
  311. --- Elapsed Time:  (New to version 2.0)  The elapsed time (Earth
  312. time) is displayed in the lower right.  This function can be
  313. toggled on and off with the 'T' key.
  314.  
  315. --- Zoom Box:  (New to version 2.0)  While the simulation is
  316. running, you can use the following keys to change the zoom power
  317. and panning values, thereby freeing you from manually spinning
  318. numbers:  PgUp, PgDn, Home, arrows, Enter, and Esc.  PgUp makes the
  319. zoom box smaller, PgDn makes the box larger, Home will zoom out
  320. 10X.  Arrows move the box around the screen, Enter selects the new
  321. values, and Esc aborts without changing anything.  See section
  322. below on Zoom Power for a description of zoom values.
  323.  
  324. --- Keys available during simulation:
  325.           Cn -  Switches to tracking view for planet n
  326.           D  -  Toggles the dynamic adjustment of Time Interval
  327.           G  -  Toggles the grid on and off
  328.           O  -  Toggles display of orbits
  329.           Sn -  Status display for planet n
  330.           T  -  Toggles the elapsed time display
  331.  
  332. To exit the simulation, press Esc.  Previously, any key would exit.
  333.  
  334.  
  335. Examples
  336. --------
  337.  
  338. The included example setups were modeled on the ones from version
  339. 1.0, but are not identical.  The main differences are that
  340. "Butterfly" has now become "Pendulum," and "System" is our own
  341. solar system.  I only tried to carry through the same general
  342. principles as the previous examples of 1.0.  You should be aware
  343. that the examples are not perfectly accurate, and changing the Time
  344. Interval will change their orbits.  I am not an astronomer and
  345. "System" is only a rough approximation of our own taken from values
  346. in a 1978 physics textbook.  If anyone would like to more correctly
  347. model this and send me a copy, I could include it in a future
  348. version of the program.  If you send in any other systems, I can
  349. include them as well.
  350.  
  351.  
  352. Misc
  353. ------
  354.  
  355. --- Show Orbits (On/Off):  Enables displaying of the Orbits that
  356. mark the path of planets as they move.  It takes priority over the
  357. settings in the editor.  The dots are always saved regardless of
  358. this setting, except for planets whose Orbits Enable is N.  This
  359. setting is changeable from the running simulation with the 'O' key
  360. (toggle).
  361.  
  362. --- Show Grid (On/Off):  Enables drawing of the grid.  This can be
  363. useful for setting up a system, and also for making measurements
  364. of planet paths.  The Zoom Factor and Units will display in the
  365. lower left, and the screen center coordinates will display near the
  366. center of the screen.  Units given are marked by the spacing on the
  367. X and Y axes.  Other markings are 10 x Units.  This setting is
  368. changeable from the running simulation with the 'G' key (toggle).
  369.  
  370. --- Elapsed Time (On/Off):  (New to version 2.0)  Enables the
  371. display of elapsed time in the lower right corner of the simulation
  372. screen.  Time calculated is based on earth time and is displayed
  373. as Years, Days, Hours, Minutes, and Seconds.  The rate at which
  374. this proceeds is determined by the value of the variable Time
  375. Interval (in seconds).  The clock rolls over to zero at 65536
  376. years.  This display may be toggled on and off with the 'T' key.
  377.  
  378. --- Dynamic Time Interval:  (New to version 2.0)  Automatically
  379. and dynamically adjusts the Time Interval variable to provide the
  380. best performance in terms of both speed and accuracy.  A
  381. calculation is made for each cycle to find the planet which is
  382. moving the most in relation to its nearest neighbor, and thus being
  383. the most demanding of precise calculations.  The Time Interval is
  384. then adjusted to give approximately a 1 to 10 ratio of distance
  385. moved to distance from nearest neighbor.  So all the planets will
  386. slow down if one gets very close to another, or all will speed up
  387. if they are all a long distance apart.  This gives you more
  388. accuracy when you need it most, and more speed when you don't need
  389. the higher accuracy as much.  The value of Time Interval is used
  390. for the first three plots, but then switches to the calculated
  391. values.  This setting may be toggled from the running simulation
  392. by pressing the 'D' key.
  393.  
  394. Note:  Dynamic Time Adjustment seems to have the effect of
  395. "circularifying" orbits, that is, turning elliptical orbits into
  396. circular ones.  It seems to be caused by losing some of a planets
  397. energy at high orbits (by decreasing accuracy), and maintaining
  398. energy at lower orbits.
  399.  
  400. --- Screen Write Direct/BIOS:  Only functional for the menu
  401. screens.  If you get a weird display, set this to BIOS.  The
  402. graphics are all done direct to memory.  Doing the graphics by the
  403. BIOS would bring new meaning to the word "slow".  This option may
  404. also be chosen when you start the program with the command-line
  405. switch /B.
  406.  
  407.  
  408. Util - Adjust Constants
  409. -----------------------
  410.  
  411. --- Zoom Power:  (New to version 2.0)  This is the magnification
  412. of the screen.  Normal magnification is 1.0 which will display
  413. units of 1 meter.  If you have some planets that are located a
  414. large distance from (0,0), set Zoom to a number between 0 and 1. 
  415. A zoom power of 0.1 will plot everything at 1/10th the scale and
  416. you can see objects located at ten times the distance you could
  417. see before (units will be 10 meters).  A zoom power of 10.0 will
  418. make things look very big.  One note however, if you try to zoom
  419. in on one planet to make it look very big, it won't display larger
  420. than a certain size.  This is due to the memory requirement for
  421. storing the planet's image that it be less than 64K in size.  Also,
  422. very large planets at normal zoom factors will display the same
  423. way.  This only affects the display of the planet, not the
  424. calculations affecting collisions, etc.  For keys available to
  425. alter this value during the running simulation, see above section
  426. on the "Go" menu.
  427.  
  428. If you get the message "Out of Memory" when you try to run your
  429. setup, try using a lower zoom power.  At higher zooms the images
  430. of all the planets can take a substantial amount of memory (up to
  431. 64K each).  Reducing the zoom power will reduce the total size of
  432. all the planet images.
  433.  
  434. --- Screen Center X,Y:  (New to version 2.0)  This is the location
  435. at the center of the screen, effectively a panning value.  Default
  436. center is (0,0).  By using Zoom Factor with Screen Center you can
  437. look at essentially any location in space at any magnification.
  438.  
  439. --- Time Interval:  This is the length of time that a gravitational
  440. force acts on a planet in seconds, or in other words, the time
  441. elapsed between calculations for new velocity and position.  The
  442. planet motions are calculated at discrete intervals, the planets
  443. aren't moving in curves, but in a whole lot of tiny straight lines. 
  444. The time interval relates to the length of those lines.  Now out
  445. in space those lines are really 0 in length, so the smaller the
  446. time interval, the truer to reality this program will be.  There
  447. are two situations to use this.  The first would be increasing this
  448. to speed up the motion in the simulation, and the second would be
  449. decreasing this to increase accuracy.  Setting this too high will
  450. make your system "explode" since those straight lines will be much
  451. larger than the size of the orbits.  This value can be determined
  452. automatically by the program if you wish.  See Dynamic Time
  453. Interval above.
  454.  
  455. The smaller the radius of curvature of a planet the smaller the
  456. value Time Interval should take.  If the distance a planet travels
  457. between plots is not more than 5-7 pixels, your accuracy is
  458. probably fine.  Set the Time Interval for approximately this
  459. spacing, depending on which planet you are watching, and how fast
  460. it is curving.  For example, in "System," a smaller value will make
  461. the inner planets move at a watchable speed, but the outer planets
  462. will hardly move at all.  Increasing the time factor will speed up
  463. the outer planets so you can watch them move, but the inner planets
  464. will then not orbit very true to reality...  Bottom line: it's give
  465. and take on speed versus accuracy.  
  466.  
  467. --- Gravitational Constant:  This is the strength of the
  468. gravitational field induced by a mass.  You should not need to
  469. change this value, but it is available for versatility.  This 
  470. value affects the units used for mass, density, distance, and
  471. velocity.  The value found in nature is +6.67E-11 N(m^2)/(Kg^2).
  472.  
  473. --- Calculations per Plot:  (New to version 2.0)  The name actually
  474. isn't perfectly right.  What you really change is how often the
  475. planet is plotted on the screen.  The frequency of calculation nor
  476. the accuracy of the system changes.  If you raise this number, the
  477. locations will be plotted less frequently, but the path of the
  478. planet will not change.  There are three situations where this may
  479. be of use.  The first is for those of you who have slow display
  480. hardware.  You may be able to speed up your system by using the
  481. display less frequently.  The second situation this may come in
  482. handy, is if you are at a large zoom factor and are watching a
  483. planet which is slowing down your system.  A big planet on the
  484. screen takes a lot of memory, and memory takes time to move around,
  485. so this may help.  The last situation is when you are displaying
  486. the status of a planet and things slow down.  In version 1.0, this
  487. value was automatically calculated at 0.60/(time interval) and this
  488. is still the default (usually 001).
  489.  
  490. --- Central Planet Tracking:  (New to version 2.0)  You can watch
  491. the system execute from the perspective of any planet.  For
  492. instance, you can watch the Earth/Moon system close-up with the
  493. earth in the center of the screen without having to do
  494. Zoom/Pan/Zoom/Pan/etc to keep chasing it around, or you can watch
  495. the whole Solar System from the perspective of the Earth.  You
  496. enter the number of the planet you want to watch, with 00 watching
  497. from a fixed location.  If you are watching a central planet, the
  498. variables "Screen Center X/Y" are overridden by the location values
  499. of the planet.  If the planet collides with another, the screen
  500. switches to the live planet.  Previously saved tracer dots will not
  501. be plotted when centering on a planet, but new ones continue to be
  502. saved and all will be plotted when you switch back to a fixed view.
  503.  
  504. This value may also be accessed from the running simulation by
  505. first pressing the 'C' key, and then the number of the planet you
  506. want to watch (1-9, ! @ # $ % ^ &).  Entering "C0" will turn this
  507. off and revert to the values in "Screen Center X/Y".
  508.  
  509.  
  510. Util - Change Video Mode
  511. ------------------------
  512.  
  513. If for some reason the program mis-detects your monitor type, you
  514. can specify another type to use.  You may also speed up your system
  515. by choosing a lower resolution type than the one detected (i.e.
  516. choose CGA on an EGA-equipped system).  Beware that if you choose
  517. a wrong type you will probably get a blank screen at best.  This
  518. selection can also be made when you start the program.  Start
  519. program with /? for a list of available switches.
  520.  
  521.  
  522. Format for Numbers
  523. ------------------
  524.  
  525. When entering numbers into any input field you may use scientific
  526. notation.  If the field is wide enough, you can enter the number
  527. normally (5000).  To enter the number 1 billion (1000000000), use
  528. 1.0E9 which means 1.0 times 10^9.  To enter .000000001, use 1.0E-
  529. 9.  Notice that the exponent must be an integer.   
  530.  
  531. Examples:  1.0E+12 is 10 times larger than 1.0E+11
  532.            5.7E+15 is 10000 times larger than 5.7E+11
  533.            2.0E+12 is 2 times larger than 1.0E+12
  534.  
  535. Please note that the total number of electrons in the Universe is
  536. taken to be somewhere between 1E69 and 1E70, and it is recommended
  537. that you don't use more than two digits in the exponent.
  538.  
  539.  
  540. Accuracy Notes
  541. --------------
  542.  
  543. The sources of inaccuracy in this program are now narrowed down to
  544. two items:  Rounding error and discrete calculations.  Rounding is
  545. not of much significance in relation to any values that you may
  546. encounter.  The exception to this is the pendulum example which is
  547. inherently unstable and falls apart after a number of cycles.  If
  548. you don't use stationary planets you should never see this effect.
  549.  
  550. The accuracy problem comes from making velocity and position
  551. calculations at discrete intervals rather than continuously as
  552. occurrs in space.  You will see this error severely when you have
  553. two planets approach each other very closely and the Time Interval
  554. is not low enough to overcome the "radius of curvature" effect. 
  555. What will happen is that the two planets will experience a very
  556. strong force towards each other, and would normally curve around
  557. at high speed in a tight arc.  If the Time Interval is not small
  558. enough to accomodate this tight curvature they will experience this
  559. large force for a much longer time than should be the case and will
  560. go rocketing off in opposite directions.  You can correct for most
  561. of this by using the Dynamic Time Interval feature, although that
  562. feature introduces a slight "circularifying" effect (see above
  563. section on Dynamic Time Interval).
  564.  
  565.  
  566. Help With Setups
  567. ----------------
  568.  
  569. Precision:  One area where you may need a hint to enter a system
  570. is when you have a very large distance coupled with a very small
  571. distance and the precision allowed by the editor is not enough. 
  572. For example, how do you enter the Sun at (0,0), the Earth at a
  573. LARGE distance from the Sun, and then the Moon at a SMALL distance
  574. from the Earth?  The trick is to not specify them all in the same
  575. line, that is, not:
  576.  
  577.     S---------------------------------------------E-M
  578.  
  579. but instead:
  580.  
  581.                                                    M
  582.                                                    |
  583.     S---------------------------------------------E
  584.  
  585. This way you can specify both the Earth and Moon as being the same
  586. distance from the Sun on the X-axis, and then have more precision
  587. available to specify the distance of Earth/Moon on the Y-axis. 
  588. This also allows for more precision in the specification of their
  589. individual velocities.
  590.  
  591. Total Energy:  Planets in higher orbits have more total energy than
  592. planets in lower orbits, even though the lower orbiting ones have
  593. a higher speed.  This is how spacecraft are able to "slingshot" out
  594. of a system.  They steal energy from an orbiting body by throwing
  595. it into a lower orbit.
  596.  
  597. Total Momentum:  To calculate the total momentum of a system,
  598. multiply the mass of each planet with its speed. Then sum up the
  599. results: M1xS1 + M2xS2 + M3xS3 + ....  If the total momentum is not
  600. zero, the whole system will "drift" through space.  The positions
  601. of the planets only come into play when calculating total angular
  602. momentum.
  603.  
  604.  
  605. Technical Specifications version 2.0
  606. ------------------------------------
  607.  
  608. Arithmetic:                              64 bit floating point
  609. Significant digits:                      15-16 internally,
  610.                       3- 9 externally (user input)
  611. Overflow limit:                          +- 1.7E+308
  612. Underflow limit:                         +- 1.7E-308
  613. Maximum saved trace dots:                8100
  614. Maximum defined planets:                 16
  615. Minimum horizontal resolution for text   600
  616. Mass units:                              Kilograms
  617. Distance units:                          Meters
  618. Time units:                              Seconds
  619. Density units:                           Kilograms per cubic Meter
  620. Velocity units:                          Meters/Second
  621. Gravitation equation:                    F = (G * m1 * m2)/(r^2)
  622. Acceleration equation:                   a = F / m
  623. Velocity equation:                       V = v + at
  624. Motion equation:                         X = x + vt
  625. Source files, total size:                173556 bytes
  626. Executable size:                         212608 bytes
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.