Answered step by step
Verified Expert Solution
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!
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 dataStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started