Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
bartleby

Videos

Textbook Question
Book Icon
Chapter 10, Problem 8P

The following system of equations is designed to determine concentrations ( the  c ' s  in g/m 3 ) 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),

15 c 1 3 c 2 c 3 = 3800 3 c 1 + 18 c 2 6 c 3 = 1200 4 c 1 c 2 + 12 c 3 = 2350

(a) Determine the matrix inverse.

(b) Use the inverse to determine the solution.

(c) Determine how much the rate of mass input to reactor 3 must be increased to induce a 10  g/m 3 rise in the concentration of reactor 1.

(d) How much will the concentration in reactor 3 be reduced if the rate of mass input to reactors 1 and 2 is reduced by 500 and 250 g/day, respectively?

(a)

Expert Solution
Check Mark
To determine

To calculate: The inverse for the given system:

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Answer to Problem 8P

Solution:

The inverse matrix is, A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155].

Explanation of Solution

Given:

The system of equations,

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Formula used:

(1) The forward substitution equations for L can be expressed as,

[L][D]=[B]

(2) The backward substitution equation for U can be expressed as,

[U][X]=[D]

(3) f21= a21a11, f31= a31a11 and f32= a32a22

Calculation:

Consider the system of equations,

15c13c2c3=3800 …… (1)

3c1+18c26c3=1200 …… (2)

4c1c2+12c3=2350 …… (3)

The coefficient a21 is eliminated by multiplying equation (1) by f21= a21a11,

f21=315

And subtracting the result from equation (2).

Thus, multiply equation (1) by (315),

15(315)c13(315)c2(315)c3=3800(315)3c1+35c2+15c3=760

Now subtract this equation from equation (2),

3c1+18c26c3+3c135c215c3=1200+760875c2315c3=196017.4c26.2c3=1960 …… (4)

The coefficient a31 is eliminated by multiplying equation (1) by f31= a31a11,

f31=415

And subtracting the result from equation (3).

Thus, multiply equation (1) by (415),

15(415)c13(415)c2(415)c3=3800(415)4c1+45c2+415c3=30403

Now subtract this equation from equation (3),

4c1c2+12c3+4c145c2415c3=2350+3040395c2+17615c3=3363.3331.8c2+11.73333c3=3363.333 …… (5)

Now the set of equations is,

15c13c2c3=380017.4c26.2c3=19601.8c2+11.73333c3=3363.333

The factors f21 and f31 can be stored in a21 and a31.

[15310.217.46.20.266671.811.73333]

The coefficient a32 is eliminated by multiplying equation (4) by f32= a32a22,

f32=1.817.4

And subtracting the result from equation (5).

Thus, multiply equation (4) by (1.817.4),

17.4(1.817.4)c26.2(1.817.4)c3=1960(1.817.4)1.8c2+0.641379c3=202.7586

Now, subtract this equation from equation (5),

1.8c2+11.73333c3+1.8c20.641379c3=3363.333+202.758611.091951c3=3566.0916 …… (6)

The factor f32 can be stored in a32.

Thus, the matrix obtained is:

[15310.217.46.20.266670.10344811.091951]

Therefore, the LU decomposition is

[L]=[1000.2100.266670.1034481] [U]=[1531017.46.20011.091951]

Now, to find the inverse of the given system.

The first column of the inverse matrix can be determined by performing the forward substitution solution with a unit vector (with 1 in the first row) of right-hand-side vector.

The forward substitution equations for L can be expressed as,

[L][D]=[B]

Where,

[B]=[100]

Determine [D] by substituting L and B as shown below,

[1000.2100.266670.1034481][d1d2d3]=[100]

Solve for d1,

d1=1

Solve for d2,

0.2d1+d2=0d2=0.2d1d2=0.2(1)d2=0.2

Solve for d3,

0.26667d10.103448d2+d3=0d3=0.26667d1+0.103448d2d3=0.26667(1)+0.103448(0.2)d3=0.287359

Hence, the values obtained are d1=1, d2=0.2, and d3=0.287359.

Solve with forward substitution of [D]T=[10.20.287359],

This vector can be used as right-hand side vector of equation,

[U][X]=[D][1531017.46.20011.091951][x1x2x3]=[10.20.287359]

Solve the above matrix by back substitution, which gives the first column of the inverse matrix as:

[X]=[0.0725380.0207380.025906]

Similarly, the second column of the inverse matrix can be determined by performing the forward substitution solution with a unit vector (with 1 in the second row) of right-hand-side vector.

The forward substitution equations for L can be expressed as,

[L][D]=[B]

Where,

[B]=[010]

Determine[D] by substituting L and B as shown below,

[1000.2100.266670.1034481][d1d2d3]=[010]

Solve for d1,

d1=0

Solve for d2,

0.2d1+d2=1d2=1+0.2d1d2=1+0.2(0)d2=1

Solve for d3,

0.26667d10.103448d2+d3=0d3=0.26667d1+0.103448d2d3=0.26667(0)+0.103448(1)d3=0.103448

Hence, the values obtained are d1=0, d2=1, and d3=0.103448.

Solve with forward substitution of [D]T=[010.103448],

This vector can be used as right-hand side vector of equation,

[U][X]=[D][1531017.46.20011.091951][x1x2x3]=[010.103448]

Solve the above matrix by back substitution, which gives the second column of the inverse matrix as:

[X]=[0.0127810.0607940.009326]

Similarly, the third column of the inverse matrix can be determined by performing the forward substitution solution with a unit vector (with 1 in the third row) of right-hand-side vector.

The forward substitution equations for L can be expressed as,

[L][D]=[B]

Where,

[B]=[001]

Determine [D] by substituting L and B as shown below,

[1000.2100.266670.1034481][d1d2d3]=[001]

Solve for d1,

d1=0

Solve for d2,

0.2d1+d2=0d2=0.2d1d2=0.2(0)d2=0

Solve for d3,

0.26667d10.103448d2+d3=1d3=1+0.26667d1+0.103448d2d3=1+0.26667(0)+0.103448(0.2)d3=1

Hence, the values obtained are d1=0, d2=0 and d3=1.

Solve with forward substitution of DT=[001],

This vector can be used as right-hand side vector of equation,

[U][X]=[D][1531017.46.20011.091951][x1x2x3]=[001]

Solve the above matrix by back substitution, which gives the third column of the inverse matrix as:

[X]=[0.0124350.0321240.090155]

Thus, the inverse matrix is:

A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155]

(b)

Expert Solution
Check Mark
To determine

To calculate: The solution of the given system using inverse:

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Answer to Problem 8P

Solution:

The solution of the given system is c1=320.207, c2=227.202 and c3=321.503.

Explanation of Solution

Given:

The system of equations,

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Where,

A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155]

Formula used:

If [A], [X] and [B] are matrices such that [A][X]=[B]. Then the solution vector [X] is given as:

[X]=[A]1[B]

Calculation:

Consider the given system of equations:

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Where,

[A]=153131864112

[C]=[c1c2c3]

[B]=[380012002350]

The inverse of the given system is:

A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155]

Thus, the solution vector [C] is given by:

[C]=[A]1[B]=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155][380012002350]=[320.207227.202321.503]

Thus, the solution of the given system is c1=320.207, c2=227.202 and c3=321.503.

(c)

Expert Solution
Check Mark
To determine

To calculate: The rate of mass input to reactor 3 that is to be increased to induce a 10 g/m3 rise in the concentration of reactor 1, where 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).

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Answer to Problem 8P

Solution:

The rate of mass input must be increased to 804.1817 g/day.

Explanation of Solution

Given:

The system of equations,

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

And the inverse of the given system is:

A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155]

Formula used:

ΔW3=Δc1a113

Calculation:

Consider the given system of equations:

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Where,

[A]=153131864112

Let rate of mass input to reactor 3 be ΔW3.

Rise in concentration of reactor 1 be Δc1=10 gm/m3.

The inverse of the given system is:

A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155]

So, a131=0.012435.

Thus,

ΔW3=Δc1a113=100.012435=804.1817

Hence, the rate of mass input must be increased to 804.1817 g/day.

(d)

Expert Solution
Check Mark
To determine

To calculate: The reduced concentration in reactor 3 if the rate of mass input to reactors 1 and 2 is reduced by 500 and 250 g/day, where 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).

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Answer to Problem 8P

Solution:

The reduced concentration in reactor 3 is 15.285 gm/m3.

Explanation of Solution

Given:

The system of equations,

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

And the inverse of the given system is:

A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155]

Formula used:

Δc3=a311ΔW1+a321ΔW2

Calculation:

Consider the given system of equations:

15c13c2c3=38003c1+18c26c3=12004c1c2+12c3=2350

Where,

[A]=153131864112

Let, the reduced concentration of reactor 3 is Δc3.

The reduced rate of mass input to reactor 1 is ΔW1=500 g/day.

The reduced rate of mass input to reactor 2 is ΔW2=250 g/day.

The inverse of the given system is:

A1=[0.0725380.0127810.0124350.0207380.0607940.0321240.0259060.0093260.090155]

So, a311=0.025906  and a321=0.009326.

Thus,

Δc3=a311ΔW1+a321ΔW2=0.025906(500)+0.009326(250)=15.285

Hence, the reduced concentration in reactor 3 is 15.285 gm/m3.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!

Chapter 10 Solutions

Numerical Methods for Engineers

Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Text book image
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:9781305658004
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Algebra for College Students
Algebra
ISBN:9781285195780
Author:Jerome E. Kaufmann, Karen L. Schwitters
Publisher:Cengage Learning
Linear Transformations on Vector Spaces; Author: Professor Dave Explains;https://www.youtube.com/watch?v=is1cg5yhdds;License: Standard YouTube License, CC-BY
Linear Equation | Solving Linear Equations | What is Linear Equation in one variable ?; Author: Najam Academy;https://www.youtube.com/watch?v=tHm3X_Ta_iE;License: Standard YouTube License, CC-BY