Worksheet 9 - PHY201

Due: Dec 9, 2005

Physics 201 home

PROBLEM

1. Consider a thin uniform circular ring of charge of radius 1 cm. that lies in the xy plane and is centered at the origin. Assume that the charge density is $1\mu C/cm$

Find an expression for the electric potential at an arbitrary point (x,y,z) due to this ring of charge. (Your expression will contain an integral.) Write fortran code to evaluate this integral numerically.

Check that your code gives the correct answer at the point (x=0,y=0) where you can do the integral numerically.

Plot the dependence of the potential along the z-axis, at (x=0.1, y=0).

Now write fortran code to calculate the three components of the electric field at an arbitrary point (x,y,z),

Plot the dependence of the electric field along the z-axis, at (x=0.1, y=0).