Computational Physics Spring 1998

W. Christian

Homework
Building a User Interface First Program
Regression ODE
Laplace's Equation Complex Class

Final Project Poster Session on May 5

Student Solutions to Previous Homework

Linear LINEAR plots two linear equations and calculates their intersection. The program does this simple job well. It is clean, attractive and easy to use.

Linear_98.ZIP Source code. Linear_98.EXE (472K) Run the application.

How to Attack the Programming Exercises.

 

THINK

Try and do the problem using pencil and paper using a very special case or a small amount of data. This will help you understand the algorithm and generate values that you can use to debug the program.

ORGANIZE

BUILD A SHELL

MAKE IT WORK

MAKE IT USEFUL

LEARN FROM OTHERS

THE GOLDEN RULES

  1. Do only one change at a time and make sure it works before you go on to the next change.
  2. Save your work often.
  3. Start early.