Please show all calculations If water is drained from a vertical cylindrical tan
ID: 3184579 • Letter: P
Question
Please show all calculations
If water is drained from a vertical cylindrical tank by opening a valve at the base, the water will flow fast when the tank is full and slow down as it continues to drain. The rate at which the water level drops is: 5. kvy dt where k is a constant depending on the size and shape of the hole. The depth of the water y is measured in meters and the time to drain is t in minutes. If k=0.06, determine how long it takes for the tank to drain is the fluid level is initially 4 m. Solve the problem by applying Euler's equation into a Excel spreadsheet. Use a step of 0.25 minutes.Explanation / Answer
close all
clear all
clc
%%
%forward euler
y = 3;
t=0;
while (y>0 )
y = y + (-1*.06*sqrt(y))*0.5;
t= t+0.5;
end
display('time in min.')
display(t-0.5);
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.