Click here to go to the
UPSCALE home page.
Click
here
to go to the PHY307F/407F HyperNews page.
PHY307F
and PHY407F are a single course in computational physics, which carries
these two different numbers so that students in their third or fourth year
can take it. It surveys areas of physics in which computational technology
is important, and explores the use of that technology in doing physics. It
is not a course in numerical methods. We use the Mathematica
programming environment; previous experience with Mathematica is
not assumed.
This is the "home page" for the course. It was written by David Harrison, Sept 1996. This is version 3.25, date (m/d/y) 12/08/98. This year is maintained by Salam Tawfiq.
You may jump directly to any of the above items by clicking on it.
Click here to go to the top of this page.
In this course we give an overview of some areas of computation of particular importance to physics. The approach is broad rather than deep. In all cases, the computation is closely tied to real physics problems. The terminology of the course closely follows that of our undergraduate laboratories. Also in common with those labs, there is an emphasis on error analysis throughout.
A recurring theme is that although in principle the computers don't do anything that we can't do by hand, in practice the technology is sufficiently fast the it feels to us that we are doing something qualitatively different from what would be possible without the computers. This in turns leads to differences in the kind of questions that we ask about a physical system, and the sorts of approaches that we take in determining the answers to our questions.
In common with many of our laboratories, we begin with an Exercise (the famous Hoop experiment in the I Year Lab is essentially an exercise). The purpose of the exercise in PHY307F/407F is to introduce you to the environment of the course in a setting with little conceptual difficulty. The exercise will consist of an investigation of techniques to solve linear equations. The techniques for solving linear equations you learn here, however, will be used throughout the term.
The Exercise is followed by five experiments:
Click here to go to the top of this page.
There is a one hour lecture on Monday,12.00 noon, MP713.
There is a laboratory Wednesdays from (1-4) PM. It meets in the Nortel Applied Physics Laboratory, MP239.
Here is the "calendar" for the course:
Week Week of: Lab Comment
1 Sept 13 Mathematica Introduction Will not be collected
2 22 Exercise 3 29 Exercise cont.
4 Oct 6 Expt 1 - Fitting Exercise due Monday, 1.00 PM 5 13 Fitting cont.
6 20 Expt 2 - Pendulum Expt 1 due Monday, 1.00 PM 7 27 Pendulum cont.
8 Nov 3 Expt 3 - Heat Equation Expt 2 due Monday, 1.00 PM 9 10 Heat Equation cont.
10 17 Expt 4 - Simulation Expt 3 due Monday, 1.00 PM 11 24 Simulation cont.
12 Dec 1 Expt 5 - Visualisation Expt 4 due Monday, 1.00 PM 13 8 Visualisation cont.
NA Dec 13 Final Examinations Expt 5 due Monday, 1.00 PM
Click here to go to the top of this page.
The Exercise will be marked Pass/Incomplete, and must be passed before work on the experiments may begin. Each experiment will be marked out of 16 points, so the five experiments will account for 80% of your mark in the course. The remaining 20% will be for the final examination.
Although alternatives are available, past experience has shown that the most comfortable and efficient environment for you to do your work is the Mathematica notebook. This can be invoked either from the main menu within the UPSCALE menu-system or from a shell prompt by typing mathematica. UPSCALE has a growing number of pre- prepared notebooks available. One advantage of invoking from within the menu system is that you will be prompted for the Notebook you wish to load, without having to know file or directory names.
The Exercise and Experiments are written as Notebooks, and you will be able to access them both on-line and as hardcopy. They serve the same function as the "Guide Sheets" of our more traditional laboratories, and typically contain introductory text, references, sample Mathematica commands, and code listings.
Once you have loaded the notebook for the Exercise or one of the Experiments, you can save it in your own areas. Thus you can:
The evaluation of your work will be in part based on your descriptions of your work and in part on the code that you write. As a rough guideline, the table shows how the marks for each part of an experiment will be assessed.
What Description Percent
Content Is the experiment completely done and 35% understood? Are the conclusions correct and meaningful? Are all questions answered? Are there suggestions for further exploration?
Clarity Are the materials easy to read and 7% understand?
Completeness Do the written materials tell me 8% everything that you did?
Correctness Do your programs work in all cases, 30% including boundary cases? Do they handle bad data gracefully? Are they efficient?
Style Good variable names? Clear and obvious 20% use of variables? Clear and logical structure? Indentation reflects the logical structure of the program? Can be easily understood and modified? Well commented?
Click here to go to the top of this page.
A two hours final examination will take place at the end of the course. Typically, there will be one or two pronblems which cover mainely the theoretical (mathematical) aspect of the experiments you have done during the course. You will be asked to write a short programe for solving a simple problem, similar to what you have done in the bonus questions.
Click here to go to the top of this page.
In addition to the Mathematica notebooks, which will be passed out in hardcopy in class, supplementary notes distributed in electronic form are being prepared. These notes are a mixture of lecture notes plus additional information. This section provides access to those notes.
The notes are available in two formats: Postscript (PS)and Portable Document Format (PDF). PostScript is the page description language used by all UPSCALE printers, and is readable by a large number of public domain programs such as ghostview. PDF is an efficient extension of PostScript readable by the Acrobat program which is available free from Adobe (http://www.adobe.com); all the computers in the Nortel laboratory have Acrobat already installed.
What | Links |
Introductory Notes (16 pages) | PostScript (94k) or PDF (49k) |
Linear Equations (10 pages) | PostScript (75k) or PDF (34k) |
Fitting Techniques (12 pages) | PostScript (84k) or PDF (41k) |
The Pendulum (20 pages) | PostScript (113k) or PDF (54k) |
The Heat Equation (11 pages) | PostScript (147k) or PDF (45k) |
Monte Carlo Simulation (12 pages) | PostScript (126k) or PDF (47k) |
Visualisation (19 pages) | PostScript (88k) or PDF (44k) |
Click here to go to the top of this page.
Click here to go to the top of this page.
Standard Disclaimer
Warning: do not eat. Past Performance is no indication of future results. Individual earnings may vary. You must be at least this high to ride this website. In the event of continued rash or skin irritation, discontinue use immediately and consult your physician. Please..do not taunt or feed the website. Forest Fire danger rating: Low. Keep your hands and feet inside your browser at all times. Friends don't let friends get WinCEd. All Files located here are for amusement purposes only...gambling is prohibited.
From www.macduff.net, slightly modified by David Harrison