Question: se Jupyter notebook to write a Python function myGE 6 1 ( A , b , TOL,info ) to implement the algorithm 6 . 1
se Jupyter notebook to write a Python function
myGEAbTOL,info
to implement the algorithm of Gaussian Elimination with Backward Substitution on
page Your function should return xinfo where vector x is the solution of Ax b
TOL is a tiny real number say for verifying whether a number is zero in coding:
in the outline, use apiTOL to replace api and aGaussian Elimination with Backward Substitution
To solve the linear system
:cdots
:cdots
vdots,vdots,vdots,vdots
:cdots
INPUT number of unknowns and equations ; augmented matrix where
and
OUTPUT solution dots, or message that the linear system has no unique solu
tion.
Step For dots, do Steps Elimination process.
Step Let be the smallest integer with and
If no integer can be found
then OUTPUT no unique solution exists';
STOP.
Step If i then perform
Step For dots, do Steps and
Step Set
Step Perform ;
Step If then OUTPUT no unique solution exists';
STOP.
Step Set Start backward substitution.
Step For dots, set
Step OUTPUT dots,; Procedure completed successfully.
STOP.nn
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
