13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NUMERICAL METHODS27.25 Laplace’s equation,∂ 2 V∂x + ∂2 V2 ∂y =0, 2is to be solved <strong>for</strong> the region <strong>and</strong> boundary conditions shown in figure 27.7.V =80−∞40404040404040∞202020V =0Figure 27.7Region, boundary values <strong>and</strong> initial guessed solution values.Starting from the given initial guess <strong>for</strong> the potential values V , <strong>and</strong> using thesimplest possible <strong>for</strong>m of relaxation, obtain a better approximation to the actualsolution. Do not aim to be more accurate than ± 0.5 units, <strong>and</strong> so terminate theprocess when subsequent changes would be no greater than this.27.26 Consider the solution, φ(x, y), of Laplace’s equation in two dimensions using arelaxation method on a square grid with common spacing h. Asinthemaintext,denote φ(x 0 + ih, y 0 + jh) byφ i,j . Further, define φ m,ni,jbyφ m,ni,j≡ ∂m+n φ∂x m ∂y nevaluated at (x 0 + ih, y 0 + jh).(a) Show thatφ 4,0i,j+2φ 2,2i,j+ φ 0,4i,j=0.(b) Working up to terms of order h 5 , find Taylor series expansions, expressed interms of the φ m,ni,j ,<strong>for</strong> S ±,0 = φ i+1,j + φ i−1,j ,S 0,± = φ i,j+1 + φ i,j−1 .(c) Find a corresponding expansion, to the same order of accuracy, <strong>for</strong> φ i±1,j+1 +φ i±1,j−1 <strong>and</strong> hence show thatS ±,± = φ i+1,j+1 + φ i+1,j−1 + φ i−1,j+1 + φ i−1,j−1has the <strong>for</strong>m)+h44φ 0,0i,j+2h 2 (φ 2,0i,j+ φ 0,2i,j6 (φ4,0 i,j+6φ 2,2i,j+ φ 0,4i,j ).(d) Evaluate the expression 4(S ±,0 +S 0,± )+S ±,± <strong>and</strong> hence deduce that a possiblerelaxation scheme, good to the fifth order in h, is to recalculate each φ i,j asthe weighted mean of the current values of its four nearest neighbours (eachwith weight 1 1) <strong>and</strong> its four next-nearest neighbours (each with weight ).5 201038

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!