
Perform the first computation in Sec. 28.1, but for the casewhere

To calculate: The solution for c if thedifferential equation for mass balance of single reactor is
Answer to Problem 1P
Solution:
The solution for c by the Heun method where
Heun withoutiteration | |
t | c |
0 | 10 |
10 | 25 |
20 | 34.375 |
30 | 40.23438 |
40 | 43.89648 |
50 | 46.1853 |
The solution for c by fourth-order RK method where
4th order RK | |
t | c |
0 | 10 |
10 | 25.72917 |
20 | 35.27317 |
30 | 41.06419 |
40 | 44.57801 |
50 | 46.71009 |
Explanation of Solution
Given Information:
The differential equation for mass balance of single reactor is,
The values,
The analytical equation for mass balance of single reactor is,
Formula used:
The iteration formula for Heun’s method is,
The fourth-order RK method for
Where,
Calculation:
Consider the analytical equation for mass balance of single reactor is,
Substitute the values
Now, use VB code to determine c at different value of t using Heun’s method and RK4 method as below,
The following output gets displayed in the excel after the execution of the above code:
To draw the graph, use excel as below,
Step 1: Select cells from B5 to B10 and C5 to C10, then go to Insert tab and select the Line option from Charts subgroup.
Step 2: Select cells from B17 to B22 and C17 to C22, then go to Insert tab and select the Line option from Charts subgroup
Step 3: Merge the graphs.
The graph obtained is,
Hence, both the method gives the same results.
Want to see more full solutions like this?
Chapter 28 Solutions
Numerical Methods for Engineers
- Q1.4 1 Point V=C(R), the vector space of all real-valued continuous functions whose domain is the set R of all real numbers, and H is the subset of C(R) consisting of all of the constant functions. (e.g. the function ƒ : R → R defined by the formula f(x) = 3 for all x E R is an example of one element of H.) OH is a subspace of V. H is not a subspace of V. Save Answerarrow_forwardExample 3.2. Solve the following boundary value problem by ADM (Adomian decomposition) method with the boundary conditions მი მი z- = 2x²+3 дг Əz w(x, 0) = x² - 3x, θω (x, 0) = i(2x+3). ayarrow_forwardPls help ASAParrow_forward
- Q1 4 Points In each part, determine if the given set H is a subspace of the given vector space V. Q1.1 1 Point V = R and H is the set of all vectors in R4 which have the form a b x= 1-2a for some scalars a, b. 1+3b 2 (e.g., the vector x = is an example of one element of H.) OH is a subspace of V. OH is not a subspace of V. Save Answer Q1.2 1 Point V = P3, the vector space of all polynomials whose degree is at most 3, and H = +³, 3t2}. OH is a subspace of V. OH is not a subspace of V. Save Answer Span{2+ Q1.3 1 Point V = M2x2, the vector space of all 2 x 2 matrices, and H is the subset of M2x2 consisting of all invertible 2 × 2 matrices. OH is a subspace of V. OH is not a subspace of V. Save Answerarrow_forwardPls help ASAParrow_forwardPls help ASAParrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageElements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,
