Write 2 user-defined functions for water volume to decrease

Assignment Help Civil Engineering
Reference no: EM13320669

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) = 109 + 108(1 - e-t/100) - rt

where V is the water volume in liters, t is time in days, and r is the town's consumption rate in liters per day. Write two user-defined functions. The first function should define the function V(t) for use with the fzero function. 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 109 L. The inputs to the second function should be x and r. Test your functions for the case where x = 50 percent and r = 107 L/day.

Reference no: EM13320669

Questions Cloud

What is the power this meal produces : A person consumes a meal containing 17 kcal. What is the power this meal produces if it is to be "burned off" due to exercise in 6 hours
What is the change in internal energy of the system : A system consists of 4.0 kg of water at 85 degrees Celsius 35 J of work is done on the system by stirring with a paddle wheel, What is the change in internal energy of the system
What is the period of the pendulum : A simple pendulum is constructed from a mass of 2 kg and a massless string of length 3.5 m. What is the period of the pendulum
What is the energy difference between the levels : The anomalous Zeeman effect is studied in an advanced student laboratory. A spectral lamp is filled with the vapor of an unknown atom. What is the energy difference between the levels
Write 2 user-defined functions for water volume to decrease : 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
What is the minimum diameter mirror on a telescope : What is the minimum diameter mirror on a telescope that would allow you to see details as small as 4.85 km on the moon some 384000 km away
What is the average emf induced in the coil : A closely wound rectangular coil of 95.0 turns has dimensions of 21.0cm by 48.0cm. What is the average emf induced in the coil
Compute the true static height in a glass tube : Pure water at 50 degrees Fahreneit stands in a glass tube of 0.04-in diameter at a height of 6.78 in. Compute the true static height.
Find the force of friction exerted on the puck : A puck slides on a surface for 5.6 m before it stops. If it was moving at a velocity of 15 m/s and has a mass of 1.2 kg, what is the force of friction exerted on the puck

Reviews

Write a Review

Civil Engineering Questions & Answers

  Engineering ethics and ethical issue

what is the engineering ethics course where to write about any engineering ethical case and discuss the ethical issue?

  Engineering ethics and concept and cases

what is the engineering ethics case related to civil engineering with reference and discuss all the engineering ethics issues which covered the "Engineering etics concepte and cases?

  Transportation and management

In the construction management, there is a lot of procurement route that are necessary and suitable for the construction industry.

  Supporting Investment Promotion: ERNST & YOUNG

Ernst & young is currently providing support to various sectors. In this regards it was felt that if this report is able to document good practices currently being adopted or planned in ceramic sector.

  Personalized Cancer Therapy-A step forward

Cancer is the uncontrolled growth of abnormal cells in the body resulting in tumours that can be benign or malignant (cancerous cells). A proper treatment is necessary to fight with this serious disease.

  Discuss the different environmental companies

Discuss the different agencies, institutes, centers, different environmental companies that are active in UAE.

  Develop a simple urban constructed wetland design

Develop a simple urban constructed wetland design.

  Evaluate company performance in relation to GRI standards

Evaluate company performance in relation to GRI standards and comment on Stigler's theory.

  Water system design

Determine the corresponding error in the computed discharge

  Hydraulic behaviour in open channel

Describe how test flumes and associated equipment are used to assess and confirm hydraulic behaviour in open channel

  Write a paper on steel sustainability

Write a paper on steel sustainability.

  Writing case study about bridge collapse

Writing case study about bridge collapse

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd