Help using for loop to solve integration problem for droplet size.
Show older comments
I am trying to solve this problem using a for loop in matlab and have had no luck. I am pretty new to matlab. I have copied and pasted the problem below. Please help. TIA.
In this problem, we are going to deal with a single cloud droplet, growing in a steady environment (constant temperature and constant relative humidity). As a part of the Matlab learning objective, we will utilize a for loop to perform the numerical integration, we will make use of storage arrays to track the radius and time. Finally, we will plot the resulting arrays in order to visualize the growth behavior of a cloud droplet. A simplified form of the growth equation is given by:
r dr/dt=(S-1)/(F_d+F_k )
r, cloud droplet radius, [initial size, 0.1x10-6 m]
dr, cloud droplet radius increment, [m]
dt, time step, [0.1 s]
S, environment saturation ratio, [1.01]
F_d, vapor diffusion term, [3.6x109 s/m2]
F_k, heat conduction term, [8.5x109 s/m2]
Starting from t=0, integrate the growth equation for 20 minutes. Report the final droplet radius in μm. Make a figure with proper labels for radius versus time. Your code should look like the following lines:
Answers (0)
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!