Answered step by step
Verified Expert Solution
Question
1 Approved Answer
*in Matlab. please show comments on lines of code eve Theron CMOS THUSUS ULU by 5.18 The saturation concentration of dissolved oxygen in freshwa ter
*in Matlab. please show comments on lines of code
eve Theron CMOS THUSUS ULU by 5.18 The saturation concentration of dissolved oxygen in freshwa ter can be calculated with the equation (APHA, 1992) ook 1.575701 X 10 6.642308 X 10' Ino, = -139.34411 + -- 1.243800 x 100 8.621949 X 10" T where 0 = the saturation concentration of dissolved oxygen in freshwater at 1 atm (mg/L) and T = absolute temperature (K). Remember that T = 1 + 273.15, where T = temperature (C). According to this equation, saturation decreases with increasing temperature. For typical natural waters in temperate climates, the equation can be used to determine that oxygen concentration ranges from 14.621 mg/L at 0C to 6.413 mg/L at 40C. Given a value of oxygen concentration, this formula and the bisection method can be used to solve for temperature in C. (a) If the initial guesses are set as 0 and 40C, how many bisection iterations would be required to determine temperature to an absolute error of 0.05C? (b) Develop and test a bisection program to determine T as a func- tion of a given oxygen concentration to a prespecified absolute error as in (a). Given initial guesses of 0 and 40C, test your program for an absolute error = 0.05C and the following cases: oy = 8, 10, and 12 mg/L. Check your results. 5.19 According to Awhimedee nrincinle the huoyancy force is equalStep 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