Question: I need the answer in Matlab using ODE45 A cylindrical tank is drained through a pipe. After applying some simplifying assumptions, we can obtain the

I need the answer in Matlab using ODE45 I need the answer in Matlab using ODE45 A cylindrical tank

A cylindrical tank is drained through a pipe. After applying some simplifying assumptions, we can obtain the following differential equation that describes how the tank depth changes with time: TED2 dy 2g(y + e) dt 4A where y is the liquid depth, t is the time, D is the pipe diameter, A is the horizontal area of the tank, g is the gravitational constant (9.81 m/s?), and e is the depth of the pipe outlet below the bottom of the tank. Plot the solution to this differential equation, and determine the amount of time it takes for the tank height to reach 1 m given that: the initial liquid height (yo) is 6 m, D = 10 cm, e = 1 m, and the tank radius is 1 m. Note: for now it is perfectly fine to be approximate with the amount of time that it takes to reach 1 m. You can display this approximate value to the command window using any method you choose. In the future, we will couple this with root-finding to be more precise

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!