Question: Please answer with a simple matlab code for beginners nothing too advanced. Thank you Problem 1 Consider the cascade of two tanks shown in the
Problem 1 Consider the cascade of two tanks shown in the figure with V 100 eal) and V 200 (gal) the volunes of brine in the two tanks. Each tank also initially contai 5 gal/min, with pure water lowing into tank 1 ns 50 lb of salt. The three flow rates indicated in the figure are each Tank I Volume V Amount x Tank 2 Volume Va Amount y (a) Find the amount r(t) of salt in tank 1 at time f (b) Suppose that y(t) is the amount of salt in tank 2 at time t. Show first that -- and then solve for yit), using the function r) found in part (a). (c) Find the maximum amount of salt ever in tank 2. (d) Plot both r() and y(t) in a single plot. (Provide both codes for solving the eqnations and for plotting the solut ions as part of your report)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
