Thanks to visit codestin.com
Credit goes to github.com

Skip to content

glare1062/Doolittle-Algorithm-LU-decomposition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Doolittle-Algorithm-LU-decomposition

Doolittle Algorithm LU decomposition for solving linear equations

Solve the following system of simultaneous linear equations using LU decomposition method.

πŸ“π’™πŸ + πŸ”π’™πŸ + 𝟐.πŸ‘π’™πŸ‘ + πŸ”π’™πŸ’ = πŸ’
πŸ—π’™πŸ + πŸπ’™πŸ + πŸ‘.πŸ“π’™πŸ‘ + πŸ•π’™πŸ’ = πŸ“
πŸ‘.πŸ“π’™πŸ + πŸ”π’™πŸ + πŸπ’™πŸ‘ + πŸ‘π’™πŸ’ = πŸ”.πŸ• 𝟏.πŸ“π’™πŸ + πŸπ’™πŸ + 𝟏.πŸ“π’™πŸ‘ + πŸ”π’™πŸ’ = πŸ•.πŸ–

This program has been written in python

outputs :

Matrix L: [[ 1. 0. 0. 0. ] [ 1.8 1. 0. 0. ] [ 0.7 -0.20454545 1. 0. ] [ 0.3 -0.02272727 3.07017544 1. ]]

Matrix U: [[ 5. 6. 2.3 6. ] [ 0. -8.8 -0.64 -3.8 ] [ 0. 0. 0.25909091 -1.97727273] [ 0. 0. 0. 10.18421053]]

Matrix Y: [ 4. -2.2 3.45 -4.04210526]

Matrix X: [-3.06356589 -0.32674419 10.28682171 -0.39689922]

Process finished with exit code 0

Thanx to https://github.com/msaw97/metody4-gauss-elimination for sharing his code ,to help me understand

About

Doolittle Algorithm LU decomposition for solving linear equations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages