Use Matlab to help me to solve it Urban engineers use the estimated rainfall, ev
ID: 3822077 • Letter: U
Question
Use Matlab to help me to solve it
Urban engineers use the estimated rainfall, evaporation and water consumption to develop the volume model of the water in the following reservoirs as a function of time.
Where V is the volume of water, in liters per liter L; t is the time in units of days; r is the consumption rate for this town, in units of L / day.
Write two user-defined functions.
The first function to define the function V (t), the second function using “fzero” calculation takes how much time; the volume of water will be reduced to the original of x%.
The input to the second function is x and r.
Test your function with the following values:
V(t) = 109 + 108 (1-exp(t/100))-rtExplanation / Answer
x = .75
t = 6
r = 5*power(10,6)
function v = vol(r,t)
v = power(10,9) + power(10,8) * (1 - exp(-t/100)) - r*t;
end
v = vol(r,t)
T = fzero(vol,x,r)
disp(T)
print -dpdf graph.pdf
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.