Matlab Program For Second Order FD Solution To Poisson's Equation
Matlab Program For Second Order FD Solution To Poisson's Equation
Matlab Program For Second Order FD Solution To Poisson's Equation
0.5
0
u(x,y)
−0.5
−1
−1.5
1
1
0.5
0.5
y 0 0 x
2
Error, h=0.2 Error, h=0.1
0 0.01
0
−0.05
−0.01
u(x,y)
u(x,y)
−0.1
−0.02
−0.15
−0.03
−0.2 −0.04
1 1
1 1
0.5 0.5
0.5 0.5
y 0 0 x y 0 0 x
Error, h=0.05 Error, h=0.025
−3 −3
x 10 x 10
2 0.5
0 0
−2 −0.5
u(x,y)
Error
−4 −1
−6 −1.5
−8 −2
−10 −2.5
1 1
1 1
0.5 0.5
0.5 0.5
y 0 0 x y 0 0 x