[MTU/BL4430 header image]

BASIC Programs

On this page are links to some programs written in the BASIC language. These have been used in the classes at other universities and colleges, as well as in the BL4430 BioSimulation class at Michigan Tech.

Use of these Programs
  • The programs listed here are written for IBM PCs and clones. Versions for some of the older programs may be available for Macintosh and Apple ][ computers. Contact the BL4430 instructor for information - see bottom of this page for contact information.

  • If these programs are used, the authorship and copyright information should not be deleted from the listings.

  • For use, these programs may be moved from their web page displays in several ways. Some web browsers have a "save" funtion with a "text" option; files saved as text by the browser may be usable directly, or may need some editing if the some extraneous text is added by the browser (for example, MS Internet Explorer).

  • Using copy and paste functions (if available on the operating system and browser) is perhaps the simplest method of creating a text file of the listing of a program.
There are three sets of programs given on this page: one set is of programs currently in use in the class, and two sets are of previous generations of the the programs.

  1. Current Liberty BASIC Programs:   Four programs are currently used in the BioSimulation course at Michigan Tech. These are written for the Liberty BASIC and for Just BASIC (a free stripped-down version of Liberty BASIC) implementations of BASIC. Either Liberty BASIC or Just BASIC requires a recent version of the Microsoft Windows operating system installed on a PC.

    The web page listings have an initial eight lines marked as REM statements. They may be deleted, although the programs will run properly if they are not deleted.

    1. 4430graf.htm
    2. curfit.bas
    3. polyfit.bas
    4. curnlfit.bas


  2. Improved MS-BASIC Programs:   The four programs listed here are improved versions of the BASIC programs provided with the textbook Computer Simulation in Biology: A BASIC Introduction. These are written for the Microsoft GW-BASIC and BASICA interpreters running on a PC. These programs will also work with the Microsoft QuickBASIC interpreter. (Although these interpreters are intended for MS-DOS or similar operating systems, they will run with some quirkiness on a current MS Windows system.)

    The improved GRAPH.BAS program requires some changes in use compared with the original version (below). These changes are described in Using the Improved GRAPH.BAS Program. The other three programs have been altered to produce cosmetically different output, but their use remains the same as described in the textbook.

    The web page listings have their initial lines marked as REM statements, numbered 1 through 9. These lines may be deleted, although the programs will run properly even if they are not deleted.

    1. GRAPH.BAS (improved)
    2. CURFIT.BAS (improved)
    3. POLYFIT.BAS (improved)
    4. CURNLFIT.BAS (improved)


  3. Original MS-BASIC Programs:   The four programs listed here are the BASIC programs provided with the textbook Computer Simulation in Biology: A BASIC Introduction. The versions listed here are those described in the book for EGA graphics cards. The hardware and software requirments are like those for the improved versions above, and their use is that described in the book.

    The web page listings have their initial lines marked as REM statements, numbered 1 through 9. These lines may be deleted, although the programs will run properly even if they are not deleted.

    1. GRAPH.BAS (original)
    2. CURFIT.BAS (original)
    3. POLYFIT.BAS (original)
    4. CURNLFIT.BAS (original)
    [image of simulation textbook]
Go to BL4430 home page

Copyright © Michigan Tech   All Rights Reserved - 17Jan07       Inquiries to 4430 instructor