Question: We know that the height is randomly distributed and can be mod - elled with an exponential distribution with a mean of 0 . 8
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
or 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.K ;
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 ;probFlood ;
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
