Press Solve.
Method
The five-point Laplacian (uᵢ₊₁,ⱼ − 2uᵢⱼ + uᵢ₋₁,ⱼ)/hₓ² + (uᵢ,ⱼ₊₁ − 2uᵢⱼ + uᵢ,ⱼ₋₁)/hᵧ² = fᵢⱼ with Dirichlet boundary values is solved by successive over-relaxation with the near-optimal factor ω = 2/(1 + sin(π/n)). Harmonic functions (f = 0) satisfy the maximum principle: extremes occur on the boundary.
Computed in your browser with double-precision arithmetic; nothing is sent to a server. Check results by substituting them back.