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 and a diameter of is initially filled halfway with water. A feed is sent at a speed of through a pipe with diameter of
The flow rate at the outlet of the tank is directly proportional to the liquid level in the tank and given by The feed is a brine saltwater solution with a
salt concentration of and initially @t 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 of its capacity,
value of when the volume of the tank reaches of its capacity,
value of
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 to consisting of points.
You can choose to use either an anonymous function or a userdefined function according to your preference.
For a userdefined 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 and the concentration values should be assigned to a variable named CAA cylindrical tank with a height of m and a diameter of m is initially filled halfway with water. A feed is sent at a speed of ms through a pipe with diameter of m The flow rate at the outlet of the tank is directly proportional to the liquid level in the tank and given by Fmsh The feed is a brine saltwater solution with a salt concentration of molL and initially @t 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 of its capacity, value of CA when
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
