A storage tank contains a liquid at depth y, where y = 0 when the tank...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A storage tank contains a liquid at depth y, where y = 0 when the tank is half full. Liquid is withdrawn at a rate that depends on the depth of the liquid. The contents are resupplied at a sinusoidal rate. For this case, the differential equation for depth can be written as dy 3 sin dt A sin ²(t)- a(1+y)¹.5 A where A = 1200 m², Q = 400 m³/d, and a = = 160. 1.1. Use Euler's method to solve for the depth y from t = 0 to 10 d with a step size of 2.5 d. Assume that the initial condition is y = 0. Perform all the calculations by hand. 1.2. Write a MATLAB program that uses Euler's method to solve for the depth y from t = 0 to 10 d with a step size of 0.5 d. Assume that the initial condition is y = 0. Comment on the accuracy of this approach compared with the hand written approach. Offer reasons for any differences. A storage tank contains a liquid at depth y, where y = 0 when the tank is half full. Liquid is withdrawn at a rate that depends on the depth of the liquid. The contents are resupplied at a sinusoidal rate. For this case, the differential equation for depth can be written as dy 3 sin dt A sin ²(t)- a(1+y)¹.5 A where A = 1200 m², Q = 400 m³/d, and a = = 160. 1.1. Use Euler's method to solve for the depth y from t = 0 to 10 d with a step size of 2.5 d. Assume that the initial condition is y = 0. Perform all the calculations by hand. 1.2. Write a MATLAB program that uses Euler's method to solve for the depth y from t = 0 to 10 d with a step size of 0.5 d. Assume that the initial condition is y = 0. Comment on the accuracy of this approach compared with the hand written approach. Offer reasons for any differences.
Expert Answer:
Answer rating: 100% (QA)
11 12 Code clc clear A 1200 Q 400 a 160 syms t y dyt y 3QAsint2a... View the full 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 programming 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...
-
Prepare the Level Strategy Costing for the above requirements. The pay rate is $10/hour with 8 hours shift/labor/day. The time to produce a unit is 1.6 hours/unit with inventory carrying is $5 per...
-
Consider the circuit shown in (Figure 1). Suppose that v 240 V,v 2 110 V, and v 3 450 V Figure 1 of 1 a) Use the mesh-current method to find the magnitude of the total power developed in the circuit...
-
On April 1, 2019, Dougherty Inc. entered into a cost plus fixed fee contract to construct an electric generator for Altom Corporation. At the contract date, Dougherty estimated that it would take 2...
-
Strong Shoes? comparative balance sheet is presented below. Strong reports under ASPE. Additional information: 1. Profit was $28,300. Dividends declared and paid were $26,400. 2. Equipment that cost...
-
For approximately 20 months, Robert E. McDonald perpetrated a scheme to solicit millions of dollars purportedly for a \($100\) million purchase by the RAI Entities and certain other related corporate...
-
High-low method, regression analysis. Anna Martinez, the financial manager at the Casa Real restaurant is checking to see if there is any relationship between newspaper advertising and sales revenues...
-
As a successful entrepreneur and CEO, you are considering making some financial decisions for your engineering company. Examining the financial report of your company, you notice: . The upgrade of...
-
The following Tableau Dashboard shows a Snakey Chart for Rumors Coffee Inc, a local coffee shop in the Midwest. Rumors Coffee Inc. pays for its expenditures using three sources of capital; cash,...
-
In the video game Warframe, Platinum is a currency players use to buy and sell in-game items. This Platinum can be purchased for real U.S. dollars from the games website. Suppose the daily market...
-
Why is concentration in the audit market a matter for concern?
-
What problems may be encountered in seeking to research tax issues in a country?
-
How have researchers collected and analysed data for qualitative studies of narrative reporting? What contributions have been made?
-
An old joke says that a banker will only lend you money if you dont need it. So when Guadalupe Perez found it hard to pay the rent for her party decoration store in Queens, New York, as the Great...
-
What problems may be encountered in making a comparative study of remuneration reports?
-
Stanley Company has just started its business in year 2005. The company needed funds to finance its long-term needs. Following detail about the company are mentioned: The management decided to have...
-
Chris Zulliger was a chef at the Plaza Restaurant in the Snowbird Ski Resort in Utah. The restaurant is located at the base of a mountain. As a chef for the Plaza, Zulliger was instructed by his...
-
Develop an M-file function for bisection in a similar fashion to Figure. Test the function by duplicating the computations from Example 5.3 and 5.4.
-
Perform one iteration of the steepest ascent method to locate the maximum of (x, y) = 4x + 2y + x2 2x4 + 2xy -3y2 Using initial guesses x = 0 and y = 0. Employ bisection to find the optimal step...
-
Compute forward and backward difference approximations of O(h) and O(h2), and central difference approximations of O(h2) and O(h4) for the first derivative of y = cos x at x = /4 using a value of h =...
-
What were Aristotles two main classifications of motion?
-
One kg weighs 10 N on Earth. Would it weigh more or less on the Moon?
-
Which has the greater density1 kg of water or 10 kg of water?
Study smarter with the SolutionInn App