Site Network: Home | Blogcrowds | Gecko and Fly | Free Online Libraries | Free Antivirus | Free CAD Software | Free Software | Telegraph TV | About

Advertisement

Your Ad Here

UTeM BMFR Google Search Engine

Custom Search

Example 2

Use LU decomposition method to solve the following simultaneous linear equations.

Solution

Recall that

and if

then first solving

and then

gives the solution vector .

Now in the previous example, we showed

First solve

to give

z1 = 106.8

2.56z1 +z2 = 177.2

5.76 z1 + 3.5 z2 + z3 = 279.2

Forward substitution starting from the first equation gives

z1 =106.8

z2 = 177.2 – 2.56 z1

= 177.2 – 2.56 (106.8)

= -96.21

z3 = 279.2 – 5.76 z1 – 3.5z2

= 279.2 – 5.76(106.8) – 3.5(-96.21)

= 0.735

Hence

This matrix is same as the right hand side obtained at the end of the forward elimination steps of Naïve Gauss elimination method. Is this a coincidence?

Now solve

From the third equation

Substituting the value of a3 in the second equation,

Substituting the value ofin the first equation,

The solution vector is

0 Comments:

Post a Comment



UTeM BMFR Blog Directories

UTeM BMFR MyBlogLog