College of Science

Computational Physics -- Chapter 5

Potentials and Fields

· Laplace's equation - relaxation method

Solves Laplace's equation for the electric potential using a simple relaxation method.

· Magnetic field from a straight wire

Use the Biot-Savart law to calculate the magnetic field produced by an electric current flowing in a straight wire.

· Magnetic field from a current loop

Same as the straight wire program, but for a current loop.

» Computational Physics
» Prof. Giordano's Homepage