Problem 1. Solve the linear system Ax = f. where A is defined as an arrow...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Problem 1. Solve the linear system Ax = f. where A is defined as an arrow matrix. x is the solution vector, and f is the right-hand side vector of given data. To be more precise, do the following: a) Derive a modified Thomas algorithm that solves the linear system Ax = f of order 4, where A is defined as the following arrow matrix: A = [b 0 0 bz 0 0 U = 0 by C3 az a3 ba a In the first step of the algorithm, generate the upper triangular matrix [B0 0 C1 0 2 0 0 0 B3 3 084 0 0 0 CI i.c. determine ; for all i e{1,2,3,4), and the modified right-hand side vector g. In the second step, use back substitution to solve the linear system Ux=g for the solution .x. b) Generalize the modified Thomas algorithm derived in Part a) to solve the linear system Ax = f of order n. c) Use the result found in Part b) to write a MATLAB script that is able to solve the linear system Ax = f of ordern with user-defined arrow matrix A and user-defined right-hand side vector f. Furthermore, store the matrix A in a memory-efficient way by storing only the vectors a, b, and e associated with the a-, by-, and c-values, respectively. Apply this MATLAB script to the case in which 3000 0 7 0-200 0 6 0 0 40 0 -5 0 0 01 0 5 0 0 00-8 4 5 3 82 9 -2 440 and Problem 1. Solve the linear system Ax = f. where A is defined as an arrow matrix. x is the solution vector, and f is the right-hand side vector of given data. To be more precise, do the following: a) Derive a modified Thomas algorithm that solves the linear system Ax = f of order 4, where A is defined as the following arrow matrix: A = [b 0 0 bz 0 0 U = 0 by C3 az a3 ba a In the first step of the algorithm, generate the upper triangular matrix [B0 0 C1 0 2 0 0 0 B3 3 084 0 0 0 CI i.c. determine ; for all i e{1,2,3,4), and the modified right-hand side vector g. In the second step, use back substitution to solve the linear system Ux=g for the solution .x. b) Generalize the modified Thomas algorithm derived in Part a) to solve the linear system Ax = f of order n. c) Use the result found in Part b) to write a MATLAB script that is able to solve the linear system Ax = f of ordern with user-defined arrow matrix A and user-defined right-hand side vector f. Furthermore, store the matrix A in a memory-efficient way by storing only the vectors a, b, and e associated with the a-, by-, and c-values, respectively. Apply this MATLAB script to the case in which 3000 0 7 0-200 0 6 0 0 40 0 -5 0 0 01 0 5 0 0 00-8 4 5 3 82 9 -2 440 and
Expert Answer:
Related Book For
Elementary Linear Algebra with Applications
ISBN: 978-0132296540
9th edition
Authors: Bernard Kolman, David Hill
Posted Date:
Students also viewed these mechanical engineering questions
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
Question: Check you are in charge of the design of both hardware and software for a new (but fairly conventional) workstation which will have its peripherals (for example a disc drive and a printer)...
-
Which one the below does not define "Work role boundaries" of a care worker limits that allow a patient and staff to connect safely in a therapeutic relationship based on patients' needs rules of...
-
It takes a word processor 30 minutes to word process and spell check 4 pages. 1. Find how many pages she can word process and spell check in 4.5 hours. 2. If the school accepted 10 students, find how...
-
Here is a work breakdown structure for a wedding. Use the method described in the Snapshot from Practice: The Yellow Sticky Approach to create a network for this project. Work Breakdown Structure 1....
-
Bailey Stokes uses a purchases journal, a cash payments journal, a sales journal, a cash receipts journal and a general journal. Indicate in which journals the following transactions are most likely...
-
Malone Supply Co. has the following transactions related to notes receivable during the last 2 months of the year. The company does not make entries to accrue interest except at December 31. Nov. 1...
-
7. The full symbol of an ion of an element is 39X+? Which one of the following is the number of electrons in the ion? A. 18 B. 19 C. 20 D. 39 8. The atomic numbers of elements W, X, Y and Z are 9,...
-
The following is the accounts found in the trial balance of Lei, Inc., an SME: 2020 2019 Lease liabilities - current portion 24,979 21,185 19,699 19,901 Income and other taxes payable Selling and...
-
CC Ltd. produces three products, and absorbs production scheduling costs on the basis of the number of machine set-ups required, with one set-up required per batch of output, regardless of which...
-
Whitney Company common stock is currently selling for $20 per share. Security analysts at Jonathan LLC have assigned the following probability distribution to the price of (and rate of return) on...
-
An airline knows that there are two types of travelers: business travelers and vacationers. For a particular flight, there are 100 business travelers who will pay $600 for a ticket while there are 50...
-
Be sure to save an electronic copy of your answer before submitting it to Ashworth College for grading. Unless otherwise stated, answer in complete sentences, and be sure to use correct English,...
-
write in c program please Find prime numbers: 1) Let the user choose how many. 2) The first prime number is given. It is 2. 3) Use a function call to test new numbers against elements of the existing...
-
Evaluate the line integral ,F. dr, where F(x, y, z) = -4xi + yj zk and C is given by the vector function r(t) = (sin t, cos t, t), 0SI5 3n/2. -5/2-27pi^2/8
-
Subprime loans have higher loss rates than many other types of loans. Explain why lenders offer subprime loans. Describe the characteristics of the typical borrower in a subprime consumer loan.
-
Prove that if A is singular, then adj A is singular. First show that if A is singular, then A(adj A) = O.
-
Show by a column (row) expansion that if Is upper (lower) triangular, then det(A) = (11(22 . . . (nn. A=[w]
-
Let S = (v1, v2, ( ( ( ( vn} be a set of nonzero vectors in a vector space V such that every vector in V can be written in one and only one way as a linear combination of the vectors in S. Prove that...
-
Continuing to focus on evidence associated with the act, concealment, and conversion, use the evidentiary material to continue the examination. In addition, the examiner also starts to think of terms...
-
Consider the following cash flow profile and assume MARR is 10 percent/year. a. Determine the ERR for this project. b. Is this project economically attractive? EOY 0 2 3 4 5 6 NCF -$100 $15 $15 $15...
-
Quilts R Us (QRU) is considering investing in a new patterning attachment with the cash flow profile shown in the table below. QRU's MARR is 13.5 percent/year. a. What is this investment's external...
Study smarter with the SolutionInn App