Question: Given that A = [ - 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0
Given that A ; ; ; ; ; ; ; ; ; ; ; ; ; ;
and
B ; ; ; ; ; ; ; ; ; ; ; ; ; ;
Where Ax B :
write a MATLAB, userdefined function that will solve the set of equations using the Gauss Seidel method. Compare how this performs against the results generated using MATLAB's inbuilt functions.
Test your MATLAB code to study the range of possible solutions, ie solutions for which realistic solutions are possible for example, negative flowrates can be solutions, but are not possible
Try and expand your MATLAB code to develop a code that would handle a more complicate Flowsheet balance each unknown in the balance represents an unknown ffrom a process flow diagram ie edit amount of inputs, unknowns etcarbitrary number of reactions for example, or additional units of equipment
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
