Вы находитесь на странице: 1из 1

Exercise 1

u00 = x BC u(0) = u(1) = 0 (1)


I found that φ = sin(nπx) with λ = (nπ)2 Using the steps outline in the
eigenfunction expansion method, I found an to be

sin(nπx0 )
an = (2)
− 21 λ

which gives
sin(nπx)sin(nπx0 )
G(x, x0 ) = −2 (3)
λ
Integrating with f (x0 ) gives
Z 1
sin(nπx)sin(nπx0 )
u(x) = x0 · −2 dx (4)
0 λ

2sin(nπx) sin(nπ) − nπcos(nπ)


u(x) = · (5)
(nπ)2 (nπ)2
x3 −x
which should be the Fourier Sine Series of 6 which is the result obtained
from direct integration. Thus
1
2sin(nπ) − nπcos(nπ) x3 − x
Z
Bn = =2 sin(nπx) (6)
(nπ)4 0 6

However I have found this is not the case since


Z 1 3
x −x 2((nπ)2 − 3)sin(nπ) + 6πcos(nπ)
2 sin(nπx) = (7)
0 6 3(nπ)4

Is there something wrong with the way G(x, x0 ) or u(x) is calculated?

Exercise 2
Using G00 + 2G = 0 and the continuity and jump conditions, I obtained
 √ √ 
 −cos( √2(x0 −1))sin( 2x)
√ 0 ≤ x ≤ x 0

2cos( 2) √
G(x, x0 ) = −cos(√2(x−1))sin( 2x )
(8)
 √ √
2cos( 2)
0
x 0 ≤ x ≤ 1 

and used
Z x Z 1
dG 1
u(x) = f (x0 )G(x, x0 )dx0 + f (x0 )G(x, x0 )dx0 + u (9)
0 x dx0 0

however the result I obtained was very long and I was not able to eliminate x0
dG 1

from the u dx 0 0
term. Is this the correct G(x, x0 )?

Вам также может понравиться