Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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