Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please solve using MATLAB (involves fitting ODE to data) 28.21 An environmental engineer is interested in estimating the mixing that occurs between a stratified lake
Please solve using MATLAB (involves fitting ODE to data)
28.21 An environmental engineer is interested in estimating the mixing that occurs between a stratified lake and an adjacent em- bayment (Fig. P28.21). A conservative tracer is instantaneously mixed with the bay water, and then the tracer concentration is monitored over the ensuing period in all three segments. The val- ues are 1 12 16 20 0 0 0 100 2 15 3 48 4 11 5 26 6 7 7 16 8 6 7 10 C2 C3 4 3 2 FIGURE P28.21 Bay (3) Upper layer (1) Lower layer (2) Using mass balances, the system can be modeled as the following simultaneous ODES: = -QC + E126C2-C) + E13(C3 - C) event = E2( cz) V. Caci = E13(c cz) where Vi = volume of segment i, Q = flow, and Ej = diffusive mixing rate between segments i and j. Use the data and the differ- ential equations to estimate the E's if V, = 1 X 107, V2 = 8 X 100, Vz = 5 x 10, and Q = 4 x 10. Employ Euler's method with a step size of 0.1 for your analysis
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started