Department Logo

Physics 110 demonstration programs


The programs used in lecture were written in a language called cT, which was developed at Carnegie-Mellon University. In order to run them, you need the cT executor program which, fortunately, is freely distributable under the terms of the cT licensing agreement. If you already have the cT executor on your machine and you only want to download an individual program, click here to get the individual (zipped) files.

Otherwise, do you want to:


To run the programs here

For those who are experienced at this sort of thing:

For those who haven't done this very much:
This may look like a long, drawn-out procedure, but it's pretty straightforward.

  1. Hold down the shift key and click here. This will bring up a dialogue box labelled "Save As...".
  2. In this dialogue box, to the right of the "Save in:" box, there is a yellow icon with an upward-pointing arrow on it. Click on this icon repeatedly until "Desktop" appears in the "Save in:" box (and the icon turns grey -- you can't go up any farther).
  3. Click on the "Save" button near the bottom of the dialogue box. The dialogue box will then go away, and after a moment an icon labelled "ctx01.zip" will appear on your desktop, probably just below the Internet icon.
  4. Double-click on the "ctx01.zip" icon on the desktop. A dialogue box labelled "StuffIt Expander" will appear for a while, then it will go away.
  5. When the "StuffIt Expander" box goes away, click on the "ctx01.zip" icon and drag it to the recycle bin. Where it was, you should now see a yellow folder labelled "Ctx01".
  6. Double-click on the "Ctx01" folder. You now get a window showing lots of files with names like "Helvbo08.fpc". You are interested in the files which end in ".ctb".
  7. (Optional) To make it easier to find the program you want to run, you could click on the "View" item on the menu at the top of the window, then click on the "Arrange Icons" item on the menu that appears, then click on "by Type" on the new submenu that appears. This will put all the .ctb files together, near the left side of the window.
  8. Click on the program you want to run.
  9. Click on "File" on the menu bar at the top of the window. When the menu appears, click on "Open with...". A new dialogue box will appear.
  10. Click on the button that says "Other...", near the bottom of the dialogue box.
  11. In the window that now appears, click on the icon labelled "ctx.exe", then click on the button marked "Open".
  12. You are now back on the "Open with..." window. Click on the button marked "OK". This runs the program.
Whew.

When you are finished running programs, drag the yellow "Ctx01" folder on the desktop to the Recycle Bin.


To run the programs at another machine

For those who are experienced at this sort of thing:

For those who haven't done this very much:

I can't be very explicit, because a lot depends on whether your home computer is running Windows or Windows '95. You will need at least some familiarity with your computer. But then, if it's your computer, you probably do.

  1. Put a disk in the disk drive of the computer.
  2. If you don't have an unzip program on your computer at home, download the shareware program PKZ204g:
  3. If you don't have ctx.exe and all that it needs to run:
Then take it home, put pkz204g.exe and ctx01.zip in a directory on your machine, execute pkz204g, and then run
pkunzip ctx01

To run any of the programs (say, "name.ctb", for example):

  1. Either exit Windows, or double-click on the "MS-DOS Prompt" icon in the "Main" program group (these programs will not run in a window);
  2. Use the "cd" (change directory) command to change to the directory which ct.exe and the program are in;
  3. Start the program by typing the command
    ctx name
    at the command-line prompt.


Here are the programs:



Published by NDSU Department of Physics
Douglas A. Kurtze
Email: kurtze@plains.nodak.edu
Phone: (701) 231-7048
Last Modified: