22.06.2013 Views

Wavelet Galerkin Solutions of Ordinary Differential Equations

Wavelet Galerkin Solutions of Ordinary Differential Equations

Wavelet Galerkin Solutions of Ordinary Differential Equations

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0<br />

<br />

<br />

<br />

:<br />

. <br />

<br />

:<br />

<br />

<br />

0<br />

<strong>Wavelet</strong> <strong>Galerkin</strong> solutions 419<br />

j<br />

j<br />

n , k <br />

( 2 x n)<br />

(<br />

2 x k)<br />

dx .<br />

We compute the solution <strong>of</strong> equation (5.2) by replacing the first and last equations<br />

by the equations obtained by using the right and left boundaries which also represent<br />

the relations <strong>of</strong> the coefficients ck as explained in Section 4. After replacing the rows,<br />

we get the following matrix form with N=6:<br />

1<br />

4<br />

0<br />

<br />

:<br />

:<br />

0<br />

<br />

0<br />

<br />

3<br />

where C =<br />

0<br />

<br />

1<br />

:<br />

. ..<br />

:<br />

...<br />

C5<br />

<br />

<br />

<br />

C<br />

4 <br />

C<br />

3<br />

<br />

C<br />

2 <br />

C<br />

<br />

1<br />

<br />

:<br />

<br />

:<br />

<br />

<br />

j C<br />

2 <br />

...<br />

...<br />

:<br />

...<br />

:<br />

0<br />

j<br />

1*(<br />

2 6)<br />

0<br />

0<br />

:<br />

...<br />

:<br />

0<br />

TC 0<br />

0<br />

<br />

:<br />

<br />

:<br />

4<br />

0<br />

0<br />

<br />

0 ... 0 0<br />

0 ... 0 0<br />

<br />

<br />

: : : : <br />

<br />

0 ... ... 0<br />

: : : : <br />

<br />

0 .. . 0 0<br />

Now by applying Gauss elimination method and using the programming <strong>of</strong> Matlab<br />

this matrix can be easily solved. Thus solution is obtained directly by substituting the<br />

values <strong>of</strong> 푐 .<br />

1<br />

0<br />

:<br />

...<br />

:<br />

...<br />

...<br />

...<br />

:<br />

...<br />

:<br />

...<br />

0<br />

0<br />

:<br />

...<br />

:<br />

1<br />

0<br />

0<br />

:<br />

0<br />

:<br />

0<br />

j j<br />

( 2 4)*(<br />

2 6)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!