Looking to code these in MATLAB
(Use the following files: Cramer, Gauss Pivot, GaussSeidel) 1- Given the equations: 10×1 + 2×2 – x3 = 27 – 3×1 – 5×2 + 2×3 = -61.5 x1 + x2 + 6×3 = -21.5 a. Solve using Cramer’s method, b. Solve using Gauss elimination with pivoting c. Solve using only 5 iterations of Gauss Seidel method d. Solve using Matlab left division 2- A peristaltic pump delivers a unit flow (Q) of a highly viscous fluid. The network is depicted in the figure. Every pipe section has the same length and diameter. The mass and mechanical energy balance can be simplified to obtain the flows in every pipe. Solve the following system of equations to obtain the flow in every stream. Q3 +224 – 2Q2 = 0 Q = Q2 + Q3 Q3 + 226 – 204 = 0 Q3 = Q4 + Q5 3Q; – 296 = 0 Q3 = Q6 +27 Q2 24 Q Q 3- Consider the matrix: [8 2 -107 [A] = -9 1 3 L 15 -1 6 ) a. Obtain the inverse of the matrix, b. Obtain the condition number c. Calculate the Frobenius norm, p-norm with p=1, and p-norm with p = 00. d. Perform LU factorization with pivoting to get L and U matrices and the permutation matrix P. Show transcribed image text (Use the following files: Cramer, Gauss Pivot, GaussSeidel) 1- Given the equations: 10×1 + 2×2 – x3 = 27 – 3×1 – 5×2 + 2×3 = -61.5 x1 + x2 + 6×3 = -21.5 a. Solve using Cramer’s method, b. Solve using Gauss elimination with pivoting c. Solve using only 5 iterations of Gauss Seidel method d. Solve using Matlab left division 2- A peristaltic pump delivers a unit flow (Q) of a highly viscous fluid. The network is depicted in the figure. Every pipe section has the same length and diameter. The mass and mechanical energy balance can be simplified to obtain the flows in every pipe. Solve the following system of equations to obtain the flow in every stream. Q3 +224 – 2Q2 = 0 Q = Q2 + Q3 Q3 + 226 – 204 = 0 Q3 = Q4 + Q5 3Q; – 296 = 0 Q3 = Q6 +27 Q2 24 Q Q 3- Consider the matrix: [8 2 -107 [A] = -9 1 3 L 15 -1 6 ) a. Obtain the inverse of the matrix, b. Obtain the condition number c. Calculate the Frobenius norm, p-norm with p=1, and p-norm with p = 00. d. Perform LU factorization with pivoting to get L and U matrices and the permutation matrix P.
Expert Answer
Answer to (Use the following files: Cramer, Gauss Pivot, GaussSeidel) 1- Given the equations: 10×1 + 2×2 – x3 = 27 – 3×1 – 5…