Concept explainers
Perform the same calculations as in (a) Example 11.1, and (b) Example 11.3, but for the tridiagonal system,
(a)
To calculate: The solution of following tridiagonal system with Thomas Algorithm:
Answer to Problem 1P
Solution:
The solution is
Explanation of Solution
Given:
A tridiagonal system:
Formula used:
(a) The decomposition is implemented as:
(2) Forward substitution is implemented as:
(3) Back substitution is implemented as:
For
Calculation:
Consider the system of equation:
Where,
First the decomposition is implemented as:
Now,
And,
And,
Thus, the matrix [A] is transformed to,
Now, the LU decomposition of the above matrix is,
The forward substitution is implemented as:
And,
Thus, the right-hand-side vector is modified to,
The right-hand-side vector can be used in conjunction with the [U] matrix to perform back substitution and obtain the solution as:
Also,
And,
Thus, the solution of the given system of equation is
(b)
To calculate: The solution of following tridiagonal system of equation with Gauss-Seidel method:
Answer to Problem 1P
Solution:
Using Gauss-Seidel method four iteration are performed to get
Explanation of Solution
Given:
A system of equation:
Formula used:
(1) The values of
(2) True percent relative error is given by,
(3) Convergence can be checked using the criterion
For all i, where j and j- 1 are the present and previous iterations.
Calculation:
The true solution is
Consider the system of equation:
Where,
First, solve each of the equations for its unknown on the diagonal
For initial guess, assume
Thus, equation (1) becomes,
This value, along with the assumed value of
Now, substitute the calculated values of
For the second iteration, the same process is repeated with
The true percent relative error is
Thus,
The value of
Thus,
Now, substitute the calculated values of
Thus,
For the third iteration, the same process is repeated with
The true percent relative error is
Thus,
The value of
Thus,
Now, substitute the calculated values of
Thus,
For the fourth iteration, the same process is repeated with
The true percent relative error is
Thus,
The value of
Thus,
Now, substitute the calculated values of
Thus,
The method is thus converging on the true solution.
Now, estimate the error:
Want to see more full solutions like this?
Chapter 11 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
- 95 C. Show that (1+i) = 24" (1-i)arrow_forwardIf an antibiotic is taken orally, only a fraction of the antibiotic is actually absorbed in the bloodstream. This fraction is called bioavailability of the dose. Suppose that for a specific antibiotic, when a mg is taken orally, only 50% of the dose is absorbed, that is the bioavailability can be expressed as 2 I. Now, if h mg of antibiotic enters the bloodstream, the amount eventually absorbed at the site of the infection 4h is g(h) = mg. h+ 4 !! Finally, if g mg is absorbed into the site of the infection, the number of surviving bacteria is given by 3000 f(9) = CFU (colony forming units). %3D 9+g? a) If a dose of 8 mg is given orally, compute the amount of antibiotic absorbed at the site of infection. An er: mg. Round to 1 decimal place as needed. b) If an amount of 7 mg enters the bloodstream, compute the amount that is eventaully absorbed at the site of the infection. Answer: mg. Round to1 decimal place as needed. c) If a dose of 6 mg is injected directly into the bloodstream…arrow_forwardAssume that the population size of honey bees in billions at year t is hy, and the population size of wild bees in billions at year t is uy. They follow the following recursive relationship: ht +1 = 2he - 4, ut +1 = 0.5ut + 1 EQUATIONS ARE IN IMAGE Currently, there are 5 billion honey bees (ho = 5) and 10 billion wild bees (wo = 10). Find an explicit formula for the population of honey bees. Find an explicit formula for the population of wild bees. What will be the population of wild bees in a long run (as t → ∞). If each honey bee can pollinate 1000 plants annually and wild bees pollinate 2000 plantseach year, how many plants will be pollinated in billions in the current year (f = 0), and after 2years (t = 2)? Compare the results and assess whether the pollination rate is likely to decrease inthe near future or not.arrow_forward
- 3. Provide solutionarrow_forward4: Find the sunm 40 S(3i-1) 1arrow_forward2024 MHX MTH 113 Acc X File C/Users/Lavonne%20Nicholas/Downloads/MTH%20113%20Aasessment%202%20(2)pdf 9 Page view A Pead alod V Draw 1. Solve: a. 322 = 9244 b. In 4-In(x+3) = Inx 2. Expand and simplify: xe? In 2/7 Lavonne-Nicholas.pdf Open filearrow_forward
- 1%YY l. In. O O 10 1:YA H.W. from 4th lecture.. H. W. Express each of the following in a complex number form (x +i y): (a) (3+51)+ (2 – 31) (b) (3+5i)+ 6 (c) 7i-(4+Si) (d) (2-71) (3+41) H. W. Find the sixth roots of z= -8? IIarrow_forwardQuestion 7 Find dr O a (6/7) (x+ 7) - 2. O b.(4/7) (x+7) =x|+ C Od No correct answer O e 4/7)(x+ 7)+x A Moving to another question will savearrow_forwardIf z1 =3 - 5i and z2 =26 -2i, find z1 +z2 and z1 -z2.arrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage Learning