A storage tank contains a liquid at depth y. The liquid is withdrawn at a rate...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A storage tank contains a liquid at depth y. The liquid is withdrawn at a rate dependent on the depth. The liquid is supplied to the tank at a sinusoidal rate as a function of time. The differential equation governing the depth of the liquid is given by: dy a(1+ y)15 sin? (1) dt A The parameter values are tank cross-section A = 1200m?, maximum supply Q = 550 m?/day and coefficient a = 160. Assume that the coordinate y was chosen so as y = 1 at t = 0. 1. Use Euler method (described and discussed in Chapter 1 of the textbook), to manually calculate the depth y from t = 0 to 2 days using step size At = 1.0 and 0.5 (measured in days). List your result in a table and plot the elevation of y versus t for the above-listed step sizes, all in one graph. This will be used for verification with the computations below. 2. Write a MATLAB program to implement the Euler method (without using any pre- written MATLAB program/function of the Euler method) to solve the Equation (1) and use it to conduct computations for the depth y from t = 0 to 10 days using step size At = 1.0,0.5, 0.1 and 0.05 (measured in days). Generate printout of the computation results in tables. Plot the elevation of y versus t for the above-listed step sizes, all in one graph for comparison. 3. Please comment on the computation results with the comparison based on the different step sizes and verification with the manual calculation. A storage tank contains a liquid at depth y. The liquid is withdrawn at a rate dependent on the depth. The liquid is supplied to the tank at a sinusoidal rate as a function of time. The differential equation governing the depth of the liquid is given by: dy a(1+ y)15 sin? (1) dt A The parameter values are tank cross-section A = 1200m?, maximum supply Q = 550 m?/day and coefficient a = 160. Assume that the coordinate y was chosen so as y = 1 at t = 0. 1. Use Euler method (described and discussed in Chapter 1 of the textbook), to manually calculate the depth y from t = 0 to 2 days using step size At = 1.0 and 0.5 (measured in days). List your result in a table and plot the elevation of y versus t for the above-listed step sizes, all in one graph. This will be used for verification with the computations below. 2. Write a MATLAB program to implement the Euler method (without using any pre- written MATLAB program/function of the Euler method) to solve the Equation (1) and use it to conduct computations for the depth y from t = 0 to 10 days using step size At = 1.0,0.5, 0.1 and 0.05 (measured in days). Generate printout of the computation results in tables. Plot the elevation of y versus t for the above-listed step sizes, all in one graph for comparison. 3. Please comment on the computation results with the comparison based on the different step sizes and verification with the manual calculation.
Expert Answer:
Related Book For
Numerical Methods for Engineers
ISBN: 9780071244299
5th Edition
Authors: Steven C. Chapra, Raymond P. Canale
Posted Date:
Students also viewed these accounting questions
-
A storage tank contains a liquid at depth y where y = 0 when the tank is half full. Liquid is withdrawn at a constant flow rate Q to meet demands. The contents are resupplied at a sinusoidal rate 3Q...
-
A 2-m3 storage tank contains 95% liquid and 5% vapor by volume of liquefied natural gas (LNG) at 160 K, as shown in Fig. P6.65. It may be assumed that LNG has the same properties as pure methane....
-
A 2-m3 storage tank contains 95% liquid and 5% vapor by volume of liquified natural gas (LNG) at 160 K, as shown in Fig. P6.65. It may be assumed that LNG has the same properties as pure methane....
-
When a cosmetic manufacturer tests the market to determine how many women will buy eyeliner that has been tested for safety without subjecting animals to injury, is it involved in a descriptive...
-
Determine an appropriate interval width for a random sample of 110 observations that fall between and include each of the following: a. 20 to 85 b. 30 to 190 c. 40 to 230 d. 140 to 500
-
Alder plc is considering four projects, for which the cash flows have been calculated as follows: The appropriate rate of discount is judged to be 10 per cent for risk-free projects. Accepting one of...
-
Could an include use case have a secondary actor? Explain.
-
Under monopolistic competition with identical firms, is it possible for a firm to produce at the minimum of its average cost curve?
-
Discussions and case questions: The case discusses the reasons for the failure of the Danone milk business in India. Was pricing the most dominant factor behind the exit of Danone from India?...
-
A steam power plant operating on a regenerative cycle, as illustrated in Fig. 8,5, includes just one feed water healer. Steam enters the turbine at 650(psia) and 900(oF) and exhausts at 1(psia)....
-
I- A. Consider a Money-in-the-Utility model of the kind we studied in the class with no population growth, i.e., n = 0: A-1) Assume that the aggregate production function is Yt = F(Kt-1,Nt) =Kt-1N-;...
-
identify an organization diversification strategy that did not succeed in creating competitive advantage. Explain why you believe it failed. Analyze how, if approached differently, the...
-
address the following: Discuss three factors that may contribute to prison sentences of excessive length and explain how you would correct the problem. Discuss at least three factors that may...
-
If you are familiar with construction, share with the class what you regularly see as the biggest safety challenge. Examples are great, if you have some to share! If you are not familiar with...
-
What was the deviant behavior? What was the punishment, if any? What are the ramifications on sport and society due to this particular situation? Is this behavior a common theme in sports? If so,...
-
1. In Georgia, identify capabilities specifically associated with the fight against terrorism, active shootings, or lone wolf assailants. 2. As a local emergency manager, how can you incorporate...
-
Ethics is and always has been about one thing: O Supporting federalism. O Changing the law. O Human Behavior. O Making money.
-
Which property determines whether a control is available to the user during run time? a. Available b. Enabled c. Unavailable d. Disabled
-
The following equations define the concentrations of three reactants: dc / dt = - 10 c c c + c b dc b / dt = 10 c c c - c b dc c / dt = - 10 c c c + c b 2 c c If the initial conditions are c =...
-
Develop a user-friendly computer program to implement the simple implicit scheme from Sec. 30.3. Test it by duplicating Example 30.2.
-
Write equations for the darkened nodes in the grid in Figure. Note that all units are cgs. The coefficient of thermal conductivity for the plate is 0.75 cal/(s cm C), the convection coefficient is...
-
What is the mirror-image rule?
-
Aaron Reed, a photographer, was in a dispute with Ezelle Investment Properties, Inc., over Ezelle allegedly using one of Reeds photographs without permission. Reed sent Ezelle a cease-and-desist...
-
This case stems from a rocky relationship between two Texans. Lawrence Shipley was the president of Shipley Do-Nut Flour & Supply Co., and Andrea Vasquez was a substitute school teacher in the...
Study smarter with the SolutionInn App