Running SIMBAS

You can multitask and switch from this window to your simulation window as you follow the instructions. You are not likely to find BASIC on a Unix computer. If leaving to find a PC, print out these instructions.
  1. Go to the MAIN window of WINDOWS© and click on MS-DOS prompt.
  2. Use the CD command to get to the directory where you have SIMBAS.BAS. If it is on a disk in your A drive, type A: to get there and CD if there is a subdirectory (e.g., CD BIOENG2). You move out and up from a directory with CD ..
  3. Type QBASIC
    This will start the BASIC that is on most PCīs with WINDOWS© .
  4. If you have a mouse and it is working, you can work through the menu selections to LOAD and RUN SIMBAS. With no mouse, use the ALT key to get to the menu line and the cursor keys to move around. To switch from one field to another, use the TAB key (it has two arrows in opposite directions hitting lines). Shift-F5 runs the program.
  5. Respond to the prompts in SIMBAS to make a run. The graph will be messed up with numbers. Sometime you really want these numbers, but not now.
  6. Get to the listing and find the code corresponding to this figure:

  7. Continue making runs until you get a graph that looks like this:

    It does not have to be exactly the same.
  8. Often you want some numbers to stay put while you experiment with others. Letīs fix K1 and K2:
  9. Experiment to learn the effects of T1 and T2. See the next sketch of code:
  10. Experiment to learn the effects of changing initial conditions. The section of code is:
End of this exercise.
while on sabbatical leave at ESB, Porto, Portugal, Sept. 1996