Question: 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.
the program for this question is matlab. 3-5. Dr. Han brought a

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!