Question: Q 3 + 2 Q 4 - 2 Q 2 = 0 Q 5 + 2 Q 6 - 2 Q 4 = 0 3
Hint: Supplement these equations with as the first equation to end up with equations in seven unknowns
Find A matrix and b vector
Solve the system of equations to obtain the flow in every stream using Gauss Naive elimination method Call it XGN column vector
Solve using Gauss elimination with pivoting Call it XGP
Solve using Gauss Seidel Call it xGS
Note: Getting a solution full of NaN means the method is unable to solve the system. If this happens think about the reason for that
Script
notewrite the script in MATLAB code not in python or any other,just in MATLAB not explain it but write the actual script
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
