Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 8

Consider the Laplace's equation

with

Find u(0.5,0.5) if h = k = 0.5.


SOLUTION

y
1
0.5
0

1
-4
1

=0

100
200
200
0

0
71.42857
85.71429
0.5

0
0
0
1

2
-4

=0

Solve the Laplace's equation

with the boundary conditions,

by using the finite-difference methos with h = x = k = y = 0.5


SOLUTION

y
1
0.5
0

1
-4
1

=0

0
0
0
0

0.3124
0.4062
0.7500
0.5

0.4374
0.5624
1.0000
1

0.3124
0.4061
0.7500
1.5

0
0
0
2

-4
2

=0

Solve the Laplace's equation

with the boundary conditions,

by using the finite-difference method with h = x = k = y = 0.25.


SOLUTION

y
1
0.75
0.5
0.25
0

1
-4
1

=0

87.5
75
75
75
37.5
0

100
78.5713
63.1695
42.8570
0
0.25

100
76.1160
56.2499
33.2588
0
0.5

100
69.6428
52.4553
33.9285
0
0.75

75
50
50
50
25
1

-4
2

=0

1
-4
1

=0

=0

1
-4
1

Given the Laplace's equation


over the square

with the boundary conditions are

and

Solve the Laplace's equations by using the finite-difference method with h = x = k = y = 0.2.
SOLUTION

y
1
0.8
0.6
0.4
0.2
0

1
-4
1

=0

0.0000
0.3643
0.4122
0.4177
0.3567
0.0000
0

0.9511
0.5227
0.4334
0.4509
0.5048
0.5878
0.2

0.5878
0.3423
0.3481
0.4478
0.6240
0.9511
0.4

1
-4
1

=0

-0.5878
-0.0892
0.1691
0.3682
0.5926
0.9511
0.6

-0.9511
-0.2801
0.0493
0.2636
0.4274
0.5878
0.8

0.0000
-0.1289
0.0448
0.2095
0.2660
0.0000
1

=0

1
-4
1

Given the Laplace's equation


over the square

with the boundary conditions are

and
Solve the Laplace's equations by using the finite-difference method with h = x = k = y = 1/8.
SOLUTION
h

1/8

y
1
0.875
0.75
0.625
0.5
0.375
0.25
0.125
0

0.125
1
-4
1

=0

90
80
80
80
80
80
80
80
80
0

100
87.7254
81.7052
78.1248
75.7858
74.2306
73.2387
72.6874
72.5107
0.125

100
89.1972
80.9714
75.0089
70.7887
67.8985
66.0375
65.0007
64.6682
0.25

100
88.0926
77.9748
70.1512
64.4619
60.5373
58.0126
56.6100
56.1610
0.375

2
-4

100
85.1988
72.6848
63.1596
56.3709
51.7765
48.8659
47.2656
46.7561
0.5

100
80.0183
64.4061
53.4318
46.0858
41.3321
38.4091
36.8306
36.3323
0.625

100
70.4691
51.4898
40.0762
33.2087
29.0572
26.6079
25.3155
24.9118
0.75

=0

100
50.3691
31.0083
22.1749
17.6159
15.0806
13.6501
12.9123
12.6840
0.875

50
0
0
0
0
0
0
0
0
1

You might also like