Question: SOLVE IT WITH MATLAB ODE PLZ A cylindrical tank with a height of 0 . 5 m and a diameter of 0 . 5 m

SOLVE IT WITH MATLAB ODE PLZ A cylindrical tank with a height of 0.5m and a diameter of 0.5m is initially filled halfway with water. A feed is sent at a speed of 10ms through a pipe with diameter of 0.03
m. The flow rate at the outlet of the tank is directly proportional to the liquid level in the tank and given by F1(m3s)=0.01h. The feed is a brine (salt-water solution) with a
salt concentration of 1molL, and initially (@t=0) the tank contains pure water.
Under these conditions, write a MATLAB code that returns:
whether the liquid level in the tank decreases or increases,
the time required for the tank to be filled to 90% of its capacity,
value of CA when the volume of the tank reaches 90% of its capacity,
value of CA(t=20s).
Note: Assume that the solution is ideal (density of pure water = density of brine).
Please note:
Constants have already been defined in the code section.
Use a time span from 0 to 20, consisting of 1000 points.
You can choose to use either an anonymous function or a user-defined function according to your preference.
For a user-defined MATLAB function, please write your function at the end of the main code.
The height values over time should be assigned to a variable named 'h', and the concentration values should be assigned to a variable named 'C_A'.A cylindrical tank with a height of 0.5m and a diameter of 0.5m is initially filled halfway with water. A feed is sent at a speed of 10m//s through a pipe with diameter of 0.03 m. The flow rate at the outlet of the tank is directly proportional to the liquid level in the tank and given by F_(1)(m^(3)//s)=0.01h. The feed is a brine (salt-water solution) with a salt concentration of 1 mol/L, and initially (@t =0) the tank contains pure water. Under these conditions, write a MATLAB code that returns: whether the liquid level in the tank decreases or increases, the time required for the tank to be filled to 90% of its capacity, value of C_(A) when
 SOLVE IT WITH MATLAB ODE PLZ A cylindrical tank with a

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!