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 (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. to use. 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.
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 (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. to use. 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.
Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter7: Analytic Trigonometry
Section7.6: The Inverse Trigonometric Functions
Problem 93E
Related questions
Question
PLEASE HELP WITH NUMBER 2 THE MATLAB CODING!! NEED IT URGENTLY THANK YOU
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning