Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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))-rt

Explanation / 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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote