Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please include a MATLAB function and a script thank you! 3 Waterflow function Write a function of the form I function Q = calculateRiverFlow(L, K,

Please include a MATLAB function and a script thank you!

image text in transcribed
3 Waterflow function Write a function of the form I function Q = calculateRiverFlow(L, K, H) 2 end that takes the values: L : length of weir, K : weir discharge coefficient, and H : height of water surface over weir - may be vector. You can check your function in MATLAB GRADER - see link in CanVAS. 4 Predicting mean river water flow We know that the height is randomly distributed and can be mod- elled with an exponential distribution with a mean / of 0.8 metres. Remember to set your seed 1. Simulate a year's worth of daily heights for consistent results 2. Hence, calculate a year's worth daily river flows. 3. Calculate the expected mean daily river flow using your sim- ulated data

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

Precalculus Enhanced With Graphing Utilities

Authors: Michael Sullivan, Michael Sullivan III

7th Edition

0134268210, 9780134268217

More Books

Students also viewed these Mathematics questions

Question

2. Ask questions, listen rather than attempt to persuade.

Answered: 1 week ago

Question

1. Background knowledge of the subject and

Answered: 1 week ago