PHYS-4007/5007 Exam 2 Web Home Page

This web page contains the links of the various IDL files needed to carry out the calculations of Exam 2 for PHYS-4007/5007 Computational Physics. These 4 IDL procedure/function files here are in standard ASCII (text) format. Depending on your browser, you will either see a "Download" box when you double click on the ASCII (i.e., IDL) files, or the text will appear in your browser. In this second case, just highlight the "Save As" menu item under the "File" menu item on the browser's toolbar.


Files to Download

A full description of these files are given in the Exam 2 write-up sent to you via email. Download the following files to a subdirectory where you wish to carry out these calculations (i.e. the so-called working directory). Double click on each of the files listed.

The IDL Files

IMPORTANT NOTE: Due to OIT's paranoia about security issues, files ending in either ".dat" (standard Unix data files) and ".pro" (IDL procedure and function files) will not show up on a web browser even though those files exist on the web server disk. To counteract this, I have changed the name of all ".pro" files to ".txt" files. Note that after you download a given IDL procedure or function file from this web site to your IDL working directory on your PC, immediately rename it to its ".pro" name as shown on web page link. For instance, when you click on "orbitsfinal.pro", this will save this file to your IDL working directory as "orbitsfinal.txt". Once on your home machine, rename it to "orbitsfinal.pro" from a DOS emulator (if using MS Windows) or the Linux "command prompt" terminal window.

orbitsfinal.pro IDL driver code to carry out the calculations and generate the plots.
orbeqnfinal.pro Supplies ORBITSFINAL and RK4 with the derivative equations.
orbplot.pro IDL procedure to creates polar plots of an orbit.
orbticks.pro Determines the tick marks for orbit plots.

Note that students will have to supply the correct coding for the differential equations in the ORBEQNFINAL function as explained in this code and on the Exam 2 write-up sent via email.


Click here to go back to the Computational Physics home page.
Click here to go to the Department of Physics and Astronomy homepage.


Last modified: November 26, 2013 by D.G. Luttermoser