Below are the codes to your question
clc
clear all
close all
osf=@(T) exp(-139.34411
+1.575701*(10^5)/T-6.642308*(10^7)/(T^2)+1.243800*(10^10)/(T^3)-8.621949*(10^11)/(T^4));
fplot(osf,[273,308]);
nOsf=@(T) exp(-139.34411
+1.575701*(10^5)/T-6.642308*(10^7)/(T^2)+1.243800*(10^10)/(T^3)-8.621949*(10^11)/(T^4))-10;
pt=fzero(nOsf,280);
hold on;
plot(pt,10,'*k');
title('osf vs Ta');
xlabel('Ta');
ylabel('osf');

b)
clc
clear all
close all
f=@(T) exp(-139.34411
+1.575701*(10^5)/T-6.642308*(10^7)/(T^2)+1.243800*(10^10)/(T^3)-8.621949*(10^11)/(T^4))-10;
fplot(f,[273,308]);
pt=fzero(f,280);
hold on;
plot(pt,0,'*k');
title('f vs Ta');
xlabel('Ta');
ylabel('f(Ta)');

c)
clear all
clc
f = @(T) exp(-139.34411
+1.575701*(10^5)/T-6.642308*(10^7)/(T^2)+1.243800*(10^10)/(T^3)-8.621949*(10^11)/(T^4))-10;
a=280;
b=300;
iter = 0;
e=0.05;
if f(a)*f(b)>=0
disp('No Root')
else
prev = (a+b)/2;
p=a;
while (abs(p-fzero(f,280))>e)
prev=p;
iter =iter+ 1;
p = (a+b)/2;
if f(p) == 0
break;
end
if f(a)*f(p)<0
b = p;
else
a = p;
end
end
end
fprintf('Total Iterations %d,
root=%2.8f\n',iter,p);

f)
=================================
Bisect method
==================================
clear all
clc
f = @(T) exp(-139.34411
+1.575701*(10^5)/T-6.642308*(10^7)/(T^2)+1.243800*(10^10)/(T^3)-8.621949*(10^11)/(T^4))-10;
a=280;
b=300;
iter = 0;
e=0.05;
if f(a)*f(b)>=0
disp('No Root')
else
prev = (a+b)/2;
p=a;
for iter=1:4
prev=p;
p = (a+b)/2;
if f(p) == 0
break;
end
if f(a)*f(p)<0
b = p;
else
a = p;
end
end
end
fprintf('Total Iterations %d,
root=%2.8f\n',iter,p);
==============================
False position method
==============================
clc
f = @(T) exp(-139.34411
+1.575701*(10^5)/T-6.642308*(10^7)/(T^2)+1.243800*(10^10)/(T^3)-8.621949*(10^11)/(T^4))-10;
x0=280;
x1=300;
i=0;
imax=20;
x2=300;
for i=1:4
if(i~=1)
x1=x2;
end
x2=x1-((f(x1)/(f(x1)-f(x0)))*(x1-x0));
x0=x1;
end
fprintf('Total Iteration %d,
root=%2.8f\n',i,x2);

The saturation concentration of dissolved oxygen in freshwater can be calculated with the equatio...
The saturation concentration of dissolved oxygen in freshwater can be calculated with the equation, ln Osf = −139.34411 + 1.575701 × 105 Ta − 6.642308 × 107 T2 a + 1.243800 × 1010 T3 a − 8.621949 × 1011 T4 where Osf is the saturation concentration of dissolved oxygen in freshwater at 1 atm (mg/L) and Ta is the absolute temperature in Kelvin (K), where Ta = T + 273.15, where T is the temperature in Celsius (oC). According to...
1.The dissolved oxygen concentration in a sample of freshwater at 15 C is measured at 13 mg/L What is the oxygen volume (mL) contained in a 1 liter sample at 1 atmosphere? *Hint use the ideal gas law P V =n•R•Twhere P is absolute pressure in atmosphere, V is volume in liters, n is number of moles, R is the gas constant for Oxygen (R= 0.082 L-atm-K-mol), T is absolute temperature in degrees Kelvin (K="C +273.15), and the molecular weight...
Need the solution in Matlab
MU UUNIUI) in the tex the same initial guesses as in (b). (5.9) The saturation concentration of dissolved oxygen in freshwater can be calculated with the equation 1.575701 x 105 In 03 = -139.34411 + 5 6.642308 x 107 1.243800 x 1010 + 72 8.621949 x 1011 where Oss = the saturation concentration of dissolved oxy- gen in freshwater at 1 atm (mg L-'); and T, = absolute temperature (K). Remember that Ta = 1...
I need the Matlab code
please.
Problem Statement #2: ds (c) using the To the same initial guesses as in (b). 5.9) The saturation concentration of dissolved oxygen in freshwater can be calculated with the equation 1.575701 x 105 In of =-139.3441144 20 34411 + - Ta where mum const! of the 1.243800 x 100 6.642308 x 107 1 = 1 72 8.621949 x 1011 Deva ks = 5.12 car where Oxf = the saturation concentration of dissolved oxy- gen...
matlab please
TABLE P15.5 Dissolved oxygen concentration in water as a function of temperature (°C) and chloride concentration (O/L). Dissolved Oxygen (mg/L) for Temperature (C) and Concentration of Chloride (g/L) C=Og/L c=10 g/l c=20 g/L 14.6 12.9 11.4 12.8 11.3 10.3 11.3 10.1 8.96 10.1 9.03 8.08 9.09 8.17 7.35 8.26 7.46 6.73 6.85 6.20 1.56 the percent relative error for your prediction. Explain pos sible causes for the discrepancy. 15.7 As compared with the models from Probs. 15.5 and...
the equilibrium concentration of dissolved oxygen jn mg/L in Lake Titicaca. The elevation is 3.850 m (atmospheric pressure = 0.62 atm)? Assume T-20 °C and K 0.62 atm)? Assume T-20 °C and Kn730 atm-L/mol. What would the concentration be with the same temperature at sea level? Explain the significance of this equation for a) developing and b) developed countries: 1 - (P)(A)(T)
QUESTION 3 a) After a point of wastewater discharge, the dissolved oxygen (DO) concentration is found as 83.33% of the saturation DO. The remaining BOD after 5 days at the point of discharge is 10.13 mg/L. The BOD rate constant determined in the laboratory under standard conditions is 0.115/day. The saturation DO concentration in the river water is 9 mg/L. The deoxygenation and the reaeration rate coefficients are 0.25/day and 0.45/day, respectively. The river travels at a velocity of 0.12...
74 Percent Concentration -The amount of solute dissolved in a fixed amount of solvent is called the concentration of the solution. Concentrations are typically expressed as Mass al.) (% m/m) which is the mass of the solute (g) divided by the mass of the solution [solute+ solvent] (g)x 1000/0; or as Volume ol.) (% v/v ) which is the volume of the solute in a fixed volume of solution (1O0mL of solution) x 1000/0; or less commonly in the laboratory,...
Based on question 2, how would you go about
solving question number 9? Please solve question number 2 and 3 if
possible.
2. (10 points) A groundwater in California has the following water quality characteristics. From the analysis shown below, determine the total hardness, carbonate hardness and noncarbonate hardness of the groundwater. Express your answers in units of mg/L as CaCO3 and as meq/L. Constituent Units Concentration or Value 10 90 40 30 10 3.1 Carbon Dioxide (CO2) Calcium (Ca2+)...
Model I: The Dissolution of Magnesium Hydroxide in Water When solid Mg(OH)2 dissolves in water, the chemical reaction is: Mg(OH)2(s) Mg2+(aq) + 2OH-(aq) (1) Table I. These are the results after equilibrium has been established for the addition of solid Mg(OH)2(s) to water yielding a final volume of 10.0 L of solution. Total amount of Mg(OH)2 added Mg2+ concentration in the resulting solution at eq OH- concentration in the resulting solution at eq Mass of Mg(OH)2 that does not dissolve...