Question: 4 Predicting mean river water flow We know that the height is randomly distributed and can be mod - elled with an exponential distribution with
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 metres.
Remember to set your seed
for consistent results
Simulate a year's worth of daily heights
Hence, calculate a year's worth daily river flows.
Calculate the expected mean daily river flow using your sim
ulated data.
For this section, you will need to write a script and submit it to
matlab grader. A template to ensure that it works fine is given
below, this is also on Matlab GRAder see link in canvas.Kmathrm ;
L ;
Hmathrm ;
We will simulate one years worth of data
rng Set seed to repeatable.
Hmathrm ;
Next we calculate the associated river water flows.
Q calculateRiverFlowL K H;
Calculate mean river flow
meanFlow ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
