Question

In: Advanced Math

Consider the following system of equations for all problems. The following system of equations is designed...

Consider the following system of equations for all problems.
The following system of equations is designed to determine concentrations (the c’s in g/m3) in a series of coupled reactors as a function of the amount of mass input to each reactor (the right-hand sides in g/day).

8?1 − 4?2 − 2?3 = 2000

−3?1 + 18?2 − 6?3 = 1400

−4?1 − 2?2 + 12?3 = 3000

Calculate and interpret the condition number. Use the row-sum norm. Scale the coefficient matrix (A) so the absolute value of the maximum element in each row is 1 (max magnitude in each row = 1). You may use MATLAB’s inv to find the inverse of the scaled A matrix

Solutions

Expert Solution


%%Matlab code for condition number of a Matrix
clear all
close all

%Matrix A
A=[ 1 -1/2 -1/4; -1/6 1 -1/3; -1/3 -1/6 1];
fprintf('Scaled A matrix=\n')
disp(A)

fprintf('Inverse of Scaled A matrix=\n')
disp(inv(A))

inv_A=inv(A);

C=norm(A)*norm(inv_A);
fprintf('Condition number is %f\n',C)

%%%%%%%%%%%%%% End of Code %%%%%%%%%%%%%%


Related Solutions

% Consider the following system of equations: % -2a +5b + c + 3d + 4e...
% Consider the following system of equations: % -2a +5b + c + 3d + 4e - f = 0 % 2a - b - 5c - 2d + 6e + 4f = 1 % -a + 6b - 4c - 5d + 3e - f = -6 % 4a + 3b - 6c - 5d - 2e - 2f = 10 % -3a + 6b + 4c + 2d - 6e + 4f = -6 % 2a + 4b...
Consider a general system of linear equations with m equations in n variables, called system I....
Consider a general system of linear equations with m equations in n variables, called system I. Let system II be the system obtained from system I by multiplying equation i by a nonzero real number c. Prove that system I and system II are equivalent.
Consider a homogeneous system of linear equations with m equations and n variables. (i) Prove that...
Consider a homogeneous system of linear equations with m equations and n variables. (i) Prove that this system is consistent. (ii) Prove that if m < n then the system has infinitely many solutions. Hint: Use r (the number of pivot columns) of the augmented matrix.
Work all the problems with a calculator (or spreadsheet) using the algebra equations and confirm your...
Work all the problems with a calculator (or spreadsheet) using the algebra equations and confirm your answer using the finance function available in your spreadsheet. The answers from both methods should be equal (within a small rounding error). Show what Algebraic Formula you use. 1. Find the present value of $125,000 you expect to receive 15 years from now using a discount rate of 7%. Write out the formula and use the power key, check with the Excel finance functions....
Consider a closed economy described by the following equations (all figures in millions of dollars): Y...
Consider a closed economy described by the following equations (all figures in millions of dollars): Y = C + I + G + NX Y = 8,000 (current value of output) G = 2,000 T = 1,000 + .1(Y) C = 450 + 0.75 (DI) I = 2,000 NX = 0 What is the current state of this economy in term of private saving, public saving and the balance between current level of investment and private domestic saving? Suppose government...
Consider a hypothetical economy characterized by the following equations (all variables as defined in class). Consumption:...
Consider a hypothetical economy characterized by the following equations (all variables as defined in class). Consumption: C = 700 + 0.95Y Investment: I=500− 30i Government spending: G=50 Money demand: L(i,Y )=0.75Y − 30i Money supply: Ms/P=400 (a) What is the equation of the IS curve? (b) What is the equation for the LM curve? (c) Solve for the equilibrium values of income (Y) and interest rates (i). (d) Assume that the government engages in expansionary fiscal policy by increasing expenditure...
For the Following Questions, show all work Use equations not computer a) Consider a typical $1,000,000...
For the Following Questions, show all work Use equations not computer a) Consider a typical $1,000,000 Canadian mortgage contract. Suppose that the current nominal interest rate is 6% and the maturity is set at 20 years. The rollover period is 3 years. The borrower and lender agree to an annual mortgage payment scheme. Find (i) the annual payments on this mortgage for the first three years and (ii) the amounts for the principal and interest components of each of these...
Consider an economy described by the following equations:
Consider an economy described by the following equations: Y=C+I+GY=C+I+G C=100+0.75×(Y - T)C=100+0.75×Y - T I=500?50×rI=500?50×r G=125G=125 T=100T=100where Y is GDP, C is consumption, II is investment, G is government purchases, T is taxes, and r is the interest rate. If the economy were at full employment (that is, at the natural rate of output), GDP would be $2,000.Identify the equation(s) each of the following statements describes. Check all that apply.StatementCIGTIt is an autonomous amount, independent of other factors.     It is a function of disposable income.     It depends on the interest rate.     The...
Following the social-conflict approach, what are the problems with the U.S. educational system? Consider quality of...
Following the social-conflict approach, what are the problems with the U.S. educational system? Consider quality of public schooling, inequality among schools, and access to higher education. Also consider class, gender, race, and ethnicity in your essay.
Consider the system of linear equations: 3? − 5? + 2? = 2 2? − ?...
Consider the system of linear equations: 3? − 5? + 2? = 2 2? − ? + 3? = 3 ? + 4? + 7? = 4 (a) Write the augmented matrix for the above system. (b) Find the inverse of the coefficient matrix. (c) Find the determinant of the coefficient matrix. (d) Find the LU-factorization of the coefficient matrix. (e) Solve the above system using Gauss-Jordan elimination. (f) Use the inverse of the coefficient matrix from part (b) to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT