Professional Documents
Culture Documents
3a
<Sol> Approximate the solution (x) by two-term solution as
w(x) = C1 f1(x) + C2 f2(x) = C1 sin x + C2 sin 3x,
where the trial functions f1(x) = sin x and f2(x) = sin 3x satisfy the boundary conditions. The
substitution of w(x) into I gives
1
I = [ 2C1 sin x 9 2C2 sin 3x ]2 [C 1 sin x + C 2 sin 3x ]2 2[C 1 sin x + C 2 sin 3x ]dx
1
20
1 1 81 2 1 2 1 2 2 2
= 4C1 4C2 C1 C2 2 C1
2
C2 .
2 2 2 2 2 3
w
0.014
0.012
0.01
0.008
0.006
0.004
0.002
x
0.2 0.4 0.6 0.8 1
5.8
<Sol> By taking (x) = C1 f1(x) + C2 f2(x) = C1x(1 – x) + C2x2(1 – x), the residual is
d 2
R 2
x 2C1 C2 ( 2 6 x ) C1 x (1 x ) C2 x 2 (1 x ) x
dx
C1 ( 2 x x 2 ) C2 ( 2 6 x x 2 x 3 ) x
3 3 1
C1 C2 0,
10 20 12
1 1
f Rdx x (1 x )[C1 ( 2 x x 2 ) C2 ( 2 6 x x 2 x 3 ) x ]dx
2
2
0 0
1
[C1 ( 2 x 2 3x 3 2 x 4 x 5 ) C2 ( 2 x 2 8 x 3 7 x 4 2 x 5 x 6 ) x 3 x 4 ]dx
0
3 13 1
C1 C2 0.
20 105 20
71 7
C1 , C2 .
369 41
71 7
( x) x(1 x) x 2 (1 x) .
369 41
1600 2000
4c12 4c22 32000 4c1c2 c1 c2
3 3
1 2 1600 1 2000
R dx 8c1 4c2 0, R dx 8c 4c1 0.
2
2
c1 0 3 c2 0 3
100 200
c1 , c2 .
3 3
100 200 2
( x) x (1 x ) x (1 x ) .
3 3
100
e ( x) ( x x4 ) .
3
17.5
15
12.5
10
Exact
7.5
Trial
5
2.5
x
0.2 0.4 0.6 0.8 1