Question: solve a system of linear equation by LU decomposition method

I want to solve a system of linear equation by LU decomposition method (Crout matrix decomposition). Most importantly, I want to take all elements of the principal diagonal of U as 1. 

 

How to do that?

 

Equations: 4x+y+z=4, x+4y-2z=4, 3x+2y-4z=6. 

 

Please Wait...