II. FINITE DIFFERENCE METHOD 1 Difference formulae
II. FINITE DIFFERENCE METHOD 1 Difference formulae
II. FINITE DIFFERENCE METHOD 1 Difference formulae
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
y<br />
0.0 0.1 0.2 0.3 0.4 0.5<br />
−y’’+(x^2−1)y=0, y(−3)=e^(−9/2),y(−3)=e^(−9/2)<br />
−3 −2 −1 0 1 2 3<br />
Figure 3: The difference method applied to the harmonic oscillator ¡y ′′ (x)+(x 2 ¡<br />
1)y(x) = 0 with Dirichlet conditions y(¡3) = y(3) = e −4.5 .<br />
y<br />
−0.3 −0.2 −0.1 0.0 0.1 0.2 0.3<br />
x<br />
y’’(x)+x^2y(x)=sin(x), y(−4*pi)=0, y(4*pi)=0<br />
−10 −5 0 5 10<br />
Figure 4: The difference method applied to the forced harmonic oscillator y ′′ (x)+<br />
x 2 y(x) = sin(x) with Dirichlet conditions y(¡4π) = 0 , y(4π) = 0.<br />
x<br />
10