
Advanced Engineering Mathematics
10th Edition
ISBN: 9780470458365
Author: Erwin Kreyszig
Publisher: Wiley, John & Sons, Incorporated
expand_more
expand_more
format_list_bulleted
Question
PLEASE HELP WITH NUMBER 2 THE MATLAB CODING!! NEED IT URGENTLY THANK YOU

Transcribed Image Text:1. The concentration of pollutants in a long, thin air duct (of length, ) is governed by the diffusion
equation:
əc
Ət
D (DOC)
dx
where c(x, t) is the concentration at a given location and time and D, the diffusion coefficient, may or
may not be a constant. When the pollutants are discovered, the duct is sealed on both ends so that
no pollutants can escape. The correct boundary conditions for this situation are:
əc
ax (0, t) = 0
əc
-(l, t) = 0
= 0
əx
If the initial concentration of pollutants in the duct is given as
2πα
(1-cos ²72)
c(x,0) = Co
find the solution for c(x, t) if D is a constant. (Note that n = 0 does give a non-trivial and valid
solution for this case and so should be included in your series.)

Transcribed Image Text:2. Write a program in MATLAB to numerically solve for the concentration distribution in a duct of length
l = 10 m with insulated sides and with the boundary and initial conditions given in problem 1. Plot the
concentration distribution in the duct at t = 100 s and at the steady-state value. Be sure to indicate
your method used, time step, spatial grid size and Courant number and how you decided which values
to use. (This will likely involve plots, tables or other means of justification.) You may let co = 3
g/m³ and D = 0.008 m²/s. Compare your results with the analytical solution (found in problem 1)
by plotting the analytical result on the same graph.
For this problem, you may use either the explicit or the implicit method. Be sure to indicate which
you used. For extra credit, you can try it using both methods. In order to get the extra credit:
(a) Clearly present the solutions for each method, both in your discussion (how you did it, how you
picked your Courant number, how you picked your spatial grid size), and in showing the results.
(b) Show SOMETHING that is different in the results.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 4 steps with 2 images

Knowledge Booster
Similar questions
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Advanced Engineering MathematicsAdvanced MathISBN:9780470458365Author:Erwin KreyszigPublisher:Wiley, John & Sons, IncorporatedNumerical Methods for EngineersAdvanced MathISBN:9780073397924Author:Steven C. Chapra Dr., Raymond P. CanalePublisher:McGraw-Hill EducationIntroductory Mathematics for Engineering Applicat...Advanced MathISBN:9781118141809Author:Nathan KlingbeilPublisher:WILEY
- Mathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,

Advanced Engineering Mathematics
Advanced Math
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Wiley, John & Sons, Incorporated

Numerical Methods for Engineers
Advanced Math
ISBN:9780073397924
Author:Steven C. Chapra Dr., Raymond P. Canale
Publisher:McGraw-Hill Education

Introductory Mathematics for Engineering Applicat...
Advanced Math
ISBN:9781118141809
Author:Nathan Klingbeil
Publisher:WILEY

Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,

