Concept explainers
Perform the same computation as in Sec. 32.1, but use
To calculate: The concentration of the distributed-parameter system equations for
Answer to Problem 1P
Solution: The concentration of equations for
Explanation of Solution
Given Information:
The distributed-parameter system depicts chemical modelling being subjected to first order decay and the tank is mixed well vertically and laterally.
Apply finite length of segment,
Here,
is the volume,
is the flow rate,
is the concentration,
is the dispersion coefficient,
is the tank’s cross-sectional area, and
is the first order decay coefficient.
Calculation:
Substitute centred finite differences for the first and the second derivatives in equation (1) to develop steady-state solution,
Further simplify the equation,
And,
Also,
Solve the equation (2),
Substitute
Hence, the required first equation is
Solve the equation (3),
Substitute
Hence, the required middle equation is
Substitute
in middle equation,
Substitute
Substitute
Substitute
Substitute
in middle equation,
Substitute
in middle equation,
Substitute
in middle equation,
Substitute
in middle equation,
Solve equation (4) for last equation,
Substitute
Hence, the required last equation is
Write all the equations in matrix form,
Express the matrix in tri-diagonal form,
Use MATLAB to solve the above matrix.
The output of the program is given below.
Want to see more full solutions like this?
Chapter 32 Solutions
Numerical Methods For Engineers, 7 Ed
- 3. Using the trial function uh(x) = a sin(x) and weighting function wh(x) = b sin(x) find an approximate solution to the following boundary value problems by determining the value of coefficient a. For each one, also find the exact solution using Matlab and plot the exact and approximate solutions. (One point each for: (i) finding a, (ii) finding the exact solution, and (iii) plotting the solution) a. (U₁xx - 2 = 0 u(0) = 0 u(1) = 0 b. Modify the trial function and find an approximation for the following boundary value problem. (Hint: you will need to add an extra term to the function to make it satisfy the boundary conditions.) (U₁xx - 2 = 0 u(0) = 1 u(1) = 0arrow_forwardPlease help and explain process to solvearrow_forwardConsider the function p(x) = x² - 4x³+3x²+x-1. Use Newton-Raphson's method with initial guess of 3. What's the updated value of the root at the end of the second iteration? Type your answer...arrow_forward
- Only part d. please show all work.arrow_forwardThe natural exponential function can be expressed by . Determine e2by calculating the sum of the series for:(a) n = 5, (b) n = 15, (c) n = 25For each part create a vector n in which the first element is 0, the incrementis 1, and the last term is 5, 15, or 25. Then use element-by-element calculations to create a vector in which the elements are . Finally, use the MATLAB built-in function sum to add the terms of the series. Compare thevalues obtained in parts (a), (b), and (c) with the value of e2calculated byMATLAB.arrow_forwardUse the graphical method to find the optimal solution for the following LP equations: Min Z=10 X1 + 25 X2 Subject to X1220, X2 ≤40 ,XI +X2 ≥ 50 X1, X2 ≥ 0.arrow_forward
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning