Next: Exercise 7.2: Numerical solution
Up: The finite differences algorithm
Previous: The finite differences algorithm
- Assume that the source of the potential is a point charge of at the origin. We know that the potential is going to be given by:
|
(78) |
Choose a reasonable value of and compare the values of
given by (79) in the center of one, and the average of
in the four neighboring
points (obtained also with Eq.(79)). Repeat for 5 different
cells at different distances from the origin. Does the relative agreement
depend on the distance of the cell to the origin?
- Repeat part 1 with smaller values of . Are the results in
better agreement?
Adrian E. Feiguin
2004-06-01