- Asked 5/13
- 2072 Asoj · 10 marks
Laplace: 3x3 grid 200/300/400/500
Short answer
Using standard five-point Laplace formula and symmetry, Gauss-Seidal iteration gives converged values: u1=325.0000, u2=325.0000, u3=325.0000, u4=375.0000, u5=350.0000, u6=375.0000, u7=325.0000, u8=325.0000, u9=325.0000.
Solve the Laplace equation uxx + uyy = 0 for the square mesh with boundary values as shown in the figure. [Figure: 3x3 interior points u1 u2 u3 / u4 u5 u6 / u7 u8 u9. Top boundary left to right: 0 (corner), 200, 300, 200, 0 (corner). Bottom boundary: 0 (corner), 200, 300, 200, 0 (corner). Left boundary top to bottom: 400, 500, 400. Right boundary top to bottom: 400, 500, 400.]
Number the interior points row-wise: u₁ u₂ u₃ / u₄ u₅ u₆ / u₇ u₈ u₉. For Laplace's equation ∇²u = 0 on a square mesh, each interior value equals the mean of its four neighbours (standard five-point formula):
u(i,j) = ¼[u(i−1,j) + u(i+1,j) + u(i,j−1) + u(i,j+1)]
Boundary values next to the interior points: top 200, 300, 200 (above u₁, u₂, u₃) and the same along the bottom (below u₇, u₈, u₉); left 400, 500, 400 (beside u₁, u₄, u₇) and the same along the right (beside u₃, u₆, u₉). Corner values are not used.
Equations
u₁ = ¼(600 + u₂ + u₄)
u₂ = ¼(300 + 2u₁ + u₅)
u₄ = ¼(500 + 2u₁ + u₅)
u₅ = ¼(0 + 2u₂ + 2u₄)
The figure is symmetric about the vertical and horizontal centre lines, so u₁ = u₃ = u₇ = u₉, u₂ = u₈ and u₄ = u₆. Only u₁, u₂, u₄ and u₅ are unknown.
Iteration (Gauss–Seidel / Liebmann)
Initial value 333 for every unknown (close to the mean of the boundary values); each new value is used at once in the next equation.
| iteration | u₁ | u₂ | u₄ | u₅ |
|---|---|---|---|---|
| 0 | 333.0000 | 333.0000 | 333.0000 | 333.0000 |
| 1 | 316.5000 | 316.5000 | 366.5000 | 341.5000 |
| 2 | 320.7500 | 320.7500 | 370.7500 | 345.7500 |
| 3 | 322.8750 | 322.8750 | 372.8750 | 347.8750 |
| 4 | 323.9375 | 323.9375 | 373.9375 | 348.9375 |
| 5 | 324.4688 | 324.4688 | 374.4688 | 349.4688 |
| 6 | 324.7344 | 324.7344 | 374.7344 | 349.7344 |
| 7 | 324.8672 | 324.8672 | 374.8672 | 349.8672 |
| 8 | 324.9336 | 324.9336 | 374.9336 | 349.9336 |
| 9 | 324.9668 | 324.9668 | 374.9668 | 349.9668 |
| 10 | 324.9834 | 324.9834 | 374.9834 | 349.9834 |
| … | … | … | … | … |
| 18 | 324.9999 | 324.9999 | 374.9999 | 349.9999 |
| 19 | 325.0000 | 325.0000 | 375.0000 | 350.0000 |
Converged to 4 decimals after 19 iterations.
Direct solution of the equations (check)
u₁ = 325.0000
u₂ = 325.0000
u₄ = 375.0000
u₅ = 350.0000
Answer: u₁ = 325.0000, u₂ = 325.0000, u₃ = 325.0000, u₄ = 375.0000, u₅ = 350.0000, u₆ = 375.0000, u₇ = 325.0000, u₈ = 325.0000, u₉ = 325.0000
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Laplace: 3x3 grid 500/1000/500 · Numerical Method, chapter 7 · asked 6×
- Laplace: 3x3 grid 400/800/600/1200 · Numerical Method, chapter 7 · asked 6×
- Laplace: 2x2 grid 10/15/20 · Numerical Method, chapter 7 · asked 6×
- Laplace: 2x2 grid 100/200/50 · Numerical Method, chapter 7 · asked 2×
- Laplace: 2x2 grid 3000/2000/500 · Numerical Method, chapter 7
- Elliptic: 2x2 grid 10/20/40/50 · Numerical Method, chapter 7 · asked 5×
- Laplace: five-point formula, 2x2 · Numerical Method, chapter 7
- Poisson: uxx + uyy = -81xy · Numerical Method, chapter 7