Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 : Draining a Cylindrical Tank A ) Suppose a cylindrical tank with a drainage valve at its base is full of water so

Part 1: Draining a Cylindrical Tank
A) Suppose a cylindrical tank with a drainage valve at its base is full of water so that the
initial water level is the height of the tank, which we will write as y0(in meters). The
tank has a diameter of dtank(in meters) and its drainage valve has a diameter of dvalve(in
meters). When the drainage valve opens, water exits the tank, causing the water level to
drop until the tank is empty. Let the water level in the tank be y=y(t),(in meters), where
t represents time (in seconds). The mathematical model for this system is given below as
a first order differential equation.
{:[A=132]B=0.35,dydt=-(dvalve)2(dtank)22gy2,y(0)=y0
Solve this IVP by hand using separation of variables. Show all steps and provide all
relevant work. From the solution of this differential equation, determine how long it will
take for the tank to drain. Use g=9.8ms2,dtank=A,dvalve=B, and y0=2A.
B) In MATLAB, write a script that creates a direction field for this differential equation.
Describe why the direction field looks the way it does. Provide the plot and the code
used in your final submission.
C) In MATLAB, write a script that applies Euler's, Improved Euler's, and the Runge-
Kutta (RK4) numerical methods for the drainage of the cylindrical tank. Plot all three
results onto a single set of axes. Use different colors for each plot to distinguish between
them and use a step size no larger than t=0.5. Provide the plot and the code used in
your final submission.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 17th International Conference Dasfaa 2012 Busan South Korea April 2012 Proceedings Part 1 Lncs 7238

Authors: Sang-goo Lee ,Zhiyong Peng ,Xiaofang Zhou ,Yang-Sae Moon ,Rainer Unland ,Jaesoo Yoo

2012 Edition

364229037X, 978-3642290374

More Books

Students also viewed these Databases questions

Question

Evaluate the integral. dx x* - 16

Answered: 1 week ago

Question

How easy the information is to remember

Answered: 1 week ago