Question: In matlab Do problem 5.9 (5.8 in the third edition) in the text c) using urec the same initial guesses as in (b). 5.9)The saturation

In matlab
Do problem 5.9 (5.8 in the third edition) in the text c) using urec the same initial guesses as in (b). 5.9)The saturation concentration of dissolved oxygen in reshwater can be calculated with the equation ds dt where mum i consta of the 1.575701 105 Ina,f =-139.3441 1 + Ta 6.642308 107 1.243800 x 1010 8.621949 x 101 Dev where osf the saturation concentration of dissolved oxy- gen in freshwater at 1 atm (mg L and Taabsolute k, temperature (K). Remember that Ta T+273.15, where 5.12 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 de- termine that oxygen concentration ranges from 14.621 mg/L at 0 C to 6.413 mg/L at 40 C. Given a value of oxygen con- centration, this formula and the bisection method can be can used to solve for temperature in C. (a) If the initial guesses are set as 0 and 40 C, how many bisection iterations would be required to determine tem- se perature to an absolute error of 0.05 C? (b) Based on (a), develop and test a bisection M-file function to determine T as a function of a given oxygen concen- tration. Test your function for osf 8, 10 and 12 mg/L Check your results aawino in a trapezoidal channel at a rate of nal must
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
