Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Matlab! 1. Using estimates of rainfall, evaporation, and water consumption, the town engineer developed the following model of the water volume in the reservoir

Using Matlab!

1. Using estimates of rainfall, evaporation, and water consumption, the town engineer developed the following model of the water volume in the reservoir as a function of time

V(t)= 1e9 +1e8*(1-exp(-t/100))- r*t

Where V is the water volume in liters, t is time in days, and r is the towns consumption rate in liters per day. Write two user-defined functions. The first function should define function V(t) to evaluate V for any input of . The second function should use fzero to compute how long it will take for the water volume to decrease to x percent of its initial value of Liters. The inputs to the second function should be x and r. Test your functions for the case where x= 50 percent and r = 107 Liters/day.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago