The Jacobi method here is applied to solve the Laplace's equation
. Using finite difference, the Laplace's equiation
can be written as
For the problem we are solving, we have a square domain with
constant (in this case temperature) along two different
continuous boundaries (
for
one and
for the other which represents the initial temperature)
and it varies linearly (from to 100) in between the two regions.