Nx=100; Ny=100; %number of intervals in x,y directions nx=Nx+1; ny=Ny+1; %number of gridpoints in x,y directions dx=Lx/Nx; dy=Ly/Ny; %grid length in x,y directions x=(0:Nx)*dx; y=(0:Ny)*dy; %x,y ...
In order to overcome the difficulty in solving the boundary value problem of electrostatic field with complex boundary and to give a new method for solving the third boundary value problem of ...