Question: By Matlab 3) Consider two interacting tanks in series, shown in Figure (8) with outlet flow rates that are a function of the square root

By Matlab
3) Consider two interacting tanks in series, shown in Figure (8) with outlet flow rates that are a function of the square root of tank height. Notice that the flow from tank l is a function of vh,- while the flow rate out of tank 2 is a function of h2 Fi F2 Tank 1 Tank 2 Figure (8): Interacting tanks. The following differential equations (DE's) describe this system. dt A di h,-h2 A2 Use the following parameter values: 5 ft25 hemin ?2- Solve these two DE's numerically using ode4s with the initial conditions hi (0) - 12 6 min A,- And the input flow rate: F= 5 ft3/min. and hy(0)-7. Then plot hi () and h2() over the time range 0 to 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
