(i) The diffusion equation
∂t∂u=∂x2∂2u
is discretized by the finite-difference method
umn+1−21(μ−α)(um−1n+1−2umn+1+um+1n+1)=umn+21(μ+α)(um−1n−2umn+um+1n)
where umn≈u(mΔx,nΔt),μ=Δt/(Δx)2 and α is a constant. Derive the order of magnitude (as a power of Δx ) of the local error for different choices of α.
(ii) Investigate the stability of the above finite-difference method for different values of α by the Fourier technique.