Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the program for this question is matlab. 3-5. Dr. Han brought a small balloon, which contains NA0=1025 particles of a chemical A, into the classroom.

the program for this question is matlab.
image text in transcribed
3-5. Dr. Han brought a small balloon, which contains NA0=1025 particles of a chemical A, into the classroom. At time t=0, he pokes the balloon with a pin and A begins to diffuse. The A concentration, CA, is determined by the diffusion equation: tCA=Dr21r(r2rCA) where D=1.6105m2/s is the diffusivity and r is the radial distance from the balloon. The solution to the equation is given by CA=8(Dt)3/2NA0exp[4Dtr2] Be careful in using "dots" in the definition of CA in the following problems (e.g., dots in Problems 3 and 5 can be in different places. If not sure, review Problem 6 in HW 1.). 3. Write a script file HW2_3_YourLastName.m to draw a graph of CA(r) at t=60,120,240 sec for 0 r0.2m. Let the number of elements in the r array to be 201. Set the range of the x-axis using a MATLAB built-in function "xlim" (see MATLAB help page for the usage of xlim). Label both axes and add a legend. 3-5. Dr. Han brought a small balloon, which contains NA0=1025 particles of a chemical A, into the classroom. At time t=0, he pokes the balloon with a pin and A begins to diffuse. The A concentration, CA, is determined by the diffusion equation: tCA=Dr21r(r2rCA) where D=1.6105m2/s is the diffusivity and r is the radial distance from the balloon. The solution to the equation is given by CA=8(Dt)3/2NA0exp[4Dtr2] Be careful in using "dots" in the definition of CA in the following problems (e.g., dots in Problems 3 and 5 can be in different places. If not sure, review Problem 6 in HW 1.). 3. Write a script file HW2_3_YourLastName.m to draw a graph of CA(r) at t=60,120,240 sec for 0 r0.2m. Let the number of elements in the r array to be 201. Set the range of the x-axis using a MATLAB built-in function "xlim" (see MATLAB help page for the usage of xlim). Label both axes and add a legend

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles And Modern Applications Of Mass Transfer Operations

Authors: Jaime Benitez

3rd Edition

1119042739, 978-1119042730

More Books

Students also viewed these Chemical Engineering questions