Computer Applications - PH 316
Spring, 2003

Fourier series

Special methods of programming computers to obtain numerical solutions to a wide range of problems. Includes simulation, graphing techniques, visualization and Web page creation.  Prerequisites: PH 203 and some experience in programming.    Syllabus.    Class List.    Bottom of pageSound pages.

Instructor:  David Renneke,

The programming language in this course is TrueBASIC Bronze for Windows.  Students purchase the software and install it on their own computer via the included CD.
The book that is used to learn how to write Web pages is "HTML for the World Wide Web, with XHTML and CSS", Fifth Edition, by Elizabeth Castro, Peachpit Press (2003) - ISBN 0-321-13007-3.

An excellent reference book for the numerical solution of physics problems is "Solve It!  Computer-Aided Mathematics for Science and Engineering", by Samuel Doughty, Gulf Publishing Company (1995) - ISBN 0-88415-266-9.  All of the examples are written in TrueBASIC.  The book comes with a disk.

One of the requirements of this course is for each student to create their own home page.

Cool archive | bookmarklets | JavaScript resources | browser safe colors | physics animations | animation factory | sub-pixel font rendering | VRML | MathML | DHTML | RTML | Tucows | 1 kibibyte = 210 = 1024

Click here to hear a test ".wav" sound file.  List of other sounds: chimes | coin table | kerchunk | utopia | alarm | camera shutter | dog bark | door bell | glass breaking | sink drain | slide whistle | space | train whistle | PH 316

Exploring Sound

Each student used a computer with a sound card and a microphone to record several ".wav" sound files. They then wrote a "sound" Web page to show you their work. Here are the links to their sound pages:

Mihailo, Paul, Jeremy, Brad, Adam, Kristin, Chris

Set Assignment Due


Sample programs in the True BASIC book.  You do not need to turn these in.


1 Problem 1.1 - calculate the total area and volume of various washers Fri., Mar. 21
2 Problems 2.1 (Maxwell speed distribution), 2.2 (a) flooded polygons, 2.2 (b) Huygen's construction for two-source interference Wed., Mar. 26
3 Problems 3.1 - 3.4.  Solve transcendental equations using the Newton-Raphson method Mon., Mar. 31
4 Problem 4.1.  Fitting data to a cubic spline curve.  Problem 4.2.  Numerical integration using the trapezoid rule. Wed., Apr. 9
4a Brief report on the lecture, "Accelerators and Synchrotron Radiation", Dr. David Williams and John Kulpin, 7:00 pm on April 10. Wed., Apr. 16
5 Problem 5.1.  RC circuit. Wed., Apr. 16
6 Problem 6.1.  Charge on the capacitor of an RLC circuit Wed., Apr. 23
7a Problem 7.1.  Temperature distribution in a silver bar (subroutine difpar - diffusion, parabolic PDE) Mon., Apr. 28
7b Problem 7.2.  Electric or gravitational potential V on a 9x9 grid (subroutine lapel - Laplace, elliptic PDE).  Problem 7.3. Temperature distribution on a 21x31 grid (subroutines lapel and picture).  Wed., Apr. 30
7c Problem 7.4.  Solve the classical wave equation (subroutine wavehy - waves, hyperbolic PDE).  Problem 7.5  Motion of a wave pulse propagating down a taunt clothesline. Fri., May 2
8 Problem 8.1.  2D drawing
Problem 8.2.  3D drawing
Fri., May 9
Mon., May 12
9 Problem 9.1.  Fourier analysis: analytical solution of the triangle wave.
Problem 9.2.  Fourier analysis: numerical solution of the triangle wave. 
Fri., May 16
  Complete your Web pages. Thur., May 22
Last update: May 16, 2003