Question: SOLVE USING PYTHON. ANSWER WILL BE DOWN VOTED IF NOT SOLVED IN PYTHON. PO Im...! x 7 10.44 Two tanks of cross-sectional areas A, and

SOLVE USING PYTHON. ANSWER WILL BE DOWN VOTED IF NOT SOLVED IN PYTHON.

SOLVE USING PYTHON. ANSWER WILL BE DOWN VOTED IF NOT SOLVED IN

PO Im...! x 7 10.44 Two tanks of cross-sectional areas A, and A2 are intercon- nected by a pipe of length L = 1 ft and cross-sectional area Ao. If the initial height of the fluid in each tank is 10 ft, and a pressure 02 s tank 2, then the upward displacement of the fluid level in tank 1, x, (neglecting friction) is given by the nonlinear ODE: 0 10 ft Ao la 1- dt2 [1+(4)] 10[1+4]+[1-(4.)*3* :+ + + g 2H X1 H H LA where H = 32.2 ft/s?, Po/v = 100 ft/s2, A/A2 = 2, and A. A / Ao = 10. Use MATLAB's built-in functions to solve for xy(t) from t = 0 to t = 60 s. For the input argument tspan (see Section 10.10) use [0:0.01:60]. The initial conditions are: x(0) = 0ft and = 0. dt 1 dx 0 In the first space below, write out the two coupled first order ODES. Use the following to help solve and plot your coupled ODEs. You may want to use online resources to understand how solve_ivp works. import from scipy.integrate import solve_ivp Hint: You will want to define the two coupled ODEs as a different function similarly to the notes. Insert an image here or attach an image to your homework file with the coupled first order ODES

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!