Solve Poisson's equation on the geometry given in Figure 1
with .
The mesh for this geometry is provided in the file cylinder.m.
You could also use the refined mesh in the file cylinder_refined.m.
As boundary conditions, we take on the cylinder (
),
on
and
on the rest of the boundary.
Check your answer: Plot your solution using the
command and compare your solution to Figure 2.