Apply LU decomposition method to solve 2x+4y+2z=1,x+5y+2z=1,4x-y+9z=2
Question : Apply LU decomposition method to solve 2x+4y+2z=1,x+5y+2z=1,4x-y+9z=2 Answer : Writing system in the Matrix AX= b\[\left[\begin{matrix}2&4&2\\1&5&2\\4&-1&9\\\end{matrix}\right]\left(\begin{matrix}x\\y\\z\\\end{matrix}\right)=\left(\begin{matrix}1\\1\\2\\\end{matrix}\right)\]To find LU decomposition of A\[A=\left[\begin{matrix}2&4&2\\1&5&2\\4&-1&9\\\end{matrix}\right]\]Step 1A=LUWhere L is lower triangular matrix and…