Quick Basic, Visual Basic and EXCEL Implementation quidelines

In this section contains:
  1. QBASIC implementation details for all 21 programs.
  2. Visual Basic implementation details for 4 programs: VBTrain, VBslinshot, VBKuiper and VBVirialTh
  3. EXCEL details for 7 programs: Circ11.xls (Circ12.xls ... Circ15.xls), GRotC.xls, FindPrim.xls, Mond.xls, Bigbang3.xls, onoff.xls and pensioen.xls

QBASIC implementation help

If you like you can download a QBASIC translator, qbasic.zip (282 K, Zip file). A translator allows you to enter and run a program, but not to create an executable (.EXE) file

If you want to download a QBasic compiler select the following: All my programmes are written with that compiler. A compiler allows you to enter and run a program and to create an executable (.EXE) file

You can also try Compiler 7.1 (4868kB Zip file) This compiler supports the same statements as 4.5 plus many more. The performance is also better.

You can down load the programs in two ways:
As source code, in the form of .BAS files
As an executable, in the form of .ZIP files
Before you down load two things are important
If you have a QBASIC compiler, you can down load:
  1. programs 1 - 21 as .BAS files. 21progbas.zip (65 K, Zip file).
  2. Each of the 21 programs separately. See below

If you do not have a QBASIC compiler, you can down load:
  1. programs 1 - 21 as .EXE files. 21progexe.zip (243 K, Zip file).
  2. Each of the 21 programs separately. See below
  3. Support program BRUN45.EXE brun45.zip (54 K, Zip file). This program is required for anyone of the 21 programs

Program Description .TXT .BAS .EXE
1 Light bending around the Sun LIGHT.TXT LIGHT.BAS LIGHT.EXE
2 Mass of a Galaxy MASS_GAL.TXT MASS_GAL.BAS MASS_GAL.EXE
3 2 Body Simulation TWO_BODY.TXT TWO_BODY.BAS TWO_BODY.EXE
4 Length Contraction TRAIN.TXT TRAIN.BAS TRAIN.EXE (1)
5 Virtual Position of Gravity Waves VIRTUAL.TXT VIRTUAL.BAS VIRTUAL.EXE
6 Two Slit Experiment TWO_SLIT.TXT TWO_SLIT.BAS TWO_SLIT.EXE
7 Hubble's Law with 3 Stars HUBBLE.TXT HUBBLE.BAS HUBBLE.EXE
8 Sun movement GALAXY.TXT GALAXY.BAS GALAXY.EXE
9 Absolute Speed of Solar System VSUN.TXT VSUN.BAS VSUN.EXE
10 Sling shot effect SLINSHOT.TXT SLINSHOT.BAS SLINSHOT.EXE (2)
11 Changing of time with 3 Objects TIMEX.TXT TIMEX.BAS TIMEX.EXE
12 How planets form around the Sun SOLAR.TXT SOLAR.BAS SOLAR.EXE
13 Twin Paradox TWIN.TXT TWIN.BAS TWIN.EXE
14 Galaxy in 2D
in 2D with MOND
GAL_2D.TXT
GAL_MOND.TXT
GAL_2D.BAS
GAL_MOND.BAS
GAL_2D.EXE
15 Field Radiation RADIATE.TXT RADIATE.BAS RADIATE.EXE
16 MM experiment MMX.TXT MMX.BAS MMX.EXE
17 SR Experiment with 4 Trains SR.TXT SR.BAS SR.EXE
18 Big Bang simulation BIGBANG.TXT BIGBANG.BAS BIGBANG.EXE
19 Shor's Algorithm simulation (4) FINDPRIM.TXT FINDPRIM.BAS FINDPRIM.EXE
20 Kuiper belt binaries KUIPER.TXT KUIPER.BAS KUIPER.EXE (3)
21 Virial Theorem VIRIALTH.TXT VIRIALTH.BAS VIRIALTH.EXE (5)

(1) This file also contains the Visual Basic 5.0 Program VBtrain.exe
(2) This file also contains the Visual Basic 5.0 Program VBSlinshot.exe
(3) This file also contains the Visual Basic 5.0 Program VBkuiper.exe
(4) Program 19 Shor's Algorithm is also availble as an EXCEL spreadsheet program
(5) This file also contains the Visual Basic 5.0 Program VBvirialTh.exe


VISUAL BASIC implementation help

If you want to down load the 4 Visual Basic Programs as .EXE files select: vbexe.zip (60 K, Zip file).

If you want to excute a Visual Basic 5.0 Program you have to download the Visual Basic 5.0 Run-Time Files Msvbvm50.exe
This extraction file contains the following files:
Msvbvm50.dll, Oleaut32.dll, Olepro32.dll, Stdole2.tlb, Asycfilt.dll and Comcat.dll
which are stored in the directory: C:/windows/system (Windows 98) or in the directory C:/windows/system32 (Windows XP)
For a copy Goto: http://www.hotwww.com/ryan/runtime.html.
This url also contains additional downloads which maybe are required.
or Goto: http://support.microsoft.com/default.aspx?scid=kb;EN-US;180071


VISUAL BASIC program operation

The basic operation of all VISUAL BASIC programs is identical. They all use a STRART button, a CANCEL button and some additional control parameters.

EXCEL implementation help

There are seven EXCEL programs available: CIRC11.XLS, GRotC.xls, FINDPRIM.XLS, MOND.XLS, BIGBANG3.XLS, ONOFF.XLS and PENSIOEN.XLS
    • CIRC11.XLS belongs to a group of 5 programs: CIRC11.XLS, CIRC12.XLS, CIRC13.XLS, CIRC14.XLS and CIRC15.XLS
      Each program simulates 5 different flat rotation curves.
    • For a copy of CIRC11.XLS in zip format select circ11.xls
      For a copy of CIRC12.XLS in zip format select circ12.xls
    • For a copy of all 5 programs select: circ.zip
    • For a description of all 5 programs select: circ11.xls.htm
    • GRotC.xls calculates a Galaxy ROTation Curves.
      For a copy of the program in zip format select grotc.xls
    • For a description select grotc.xls.htm
    • FINDPRIM.XLS is the same as QBASIC program 19: FINDPRIM.BAS "Shor's Algorithm simulation".
      To get a copy in zip format select: findprim.xls
    • For a description of FINDPRIM.XLS select: findprim.xls.htm
    • mond.xls simulates the MOND algorithm
      To get a copy in zip format select: mond.xls.zip
    • For a description of MOND.XLS select: mond.htm and go to paragraph: Reflection part 5
    • bigbang3.xls simulates the bigbang
      To get a copy in zip format select: bigbang3.xls
    • For a description of BIGBANG3.XLS select: bigbang3.xls.htm
    • onoff.xls simulates ON OFF control in order to generate random numbers.
      To get a copy in zip format select: onoff.xls
    • For a description of ONOFF.XLS select: onoff.xls.htm
    • pensioen.xls simulates the evolution of a pensioen plan
      To get a copy in zip format select: pensioen.xls
    • For a description of PENSIOEN.XLS in Dutch select: pensioen.xls.htm


Last modified: 16 December 2002
Last modified: 6 Maart 2004
Last modified: 13 December 2005
Modified: 25 August 2010

Back to my home page Contents of This Document