Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( Problem 2 - use MATLAB ) In a cylindrical tube made of milk chocolate ( inside radius R = 2 c m , total
Problem use MATLAB
In a cylindrical tube made of milk chocolate inside radius
total length a warm milk is flowing
slowly in laminar fashion.
The milk entering the tube is chocolatefree
Chocolate dissolving in the milk is carried downstream,
also spreading radially inward by diffusion. The diffusion
coefficient of the chocolate in the milk is
You realize that the system may be described with the
following PDE is the length down the tube, is the
radius, is the concentration of chocolate in the milk:
You also identify the following boundary conditions:
BC # At the center of the pipe, the concentration of
chocolate is continuous and is at its minimum. Thus left
side" BC:
BC# At the pipe wall, which is solid, the chocolate isalways at a saturation concentration in the milk. Thus
right side" BC:
Use an mfile function to invoke pdepe in MATLAB: solve
for the concentration distribution within the pipe over
the entire radius and length of the pipe.
a Plot this concentration distribution against and in
a properly labeled surface plot a plot title reporting the
mesh size is acceptable
b What are the following chocolate concentration
values, to four significant digits?
Midpoint of the tube length, at
End of the tube length, at center of tube
c Display the entire program code used for your
function in MATLAB, and include your name as a
comment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started