From: Randolph Wang <rywang@rywang.cs.princeton.edu>
Date: Sun, 22 Feb 2004 08:06:46 -0500
To: yosemite@CS.Princeton.EDU
Subject: upload - Randy - Tammy's physics code
http://dsh.cs.washington.edu:8000/Projects/04s126/upload/040222-080646.cgi-lib.16562.1.Laplace2.java
P.S. Again, the code calculates equipotentials for a given fixed potential of 0 on the outer square and 100 on the inner by diving the area to be considered into a finite number of points. In each iteration, it takes for the new potential value at a given point the average of the surrounding 4 potential values (right,left,above,below).
Randy
upload - Randy - Tammy's physics code / Randolph Wang