Question: *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

*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 equal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!