Problem 57765. Determine whether a hydrograph is a unit hydrograph
A hydrograph describes the runoff response of a catchment or watershed to rainfall. It shows the runoff rate Q (or flow or discharge) as a function of time t resulting from a given excess rainfall (expressed as a depth P) for a storm of a specified duration. A unit hydrograph results from unit excess rainfall (e.g., P = 1 cm).
Write a function to determine whether a hydrograph is a unit hydrograph. Inputs to the function will be time t in minutes, the flow rate Q in
, and the catchment area A in
. Allow for a tolerance of 0.01 cm in the excess rainfall depth.
Solution Stats
Problem Comments
-
2 Comments
Dyuman Joshi
on 11 Mar 2023
Chris, the problem statement specifies that Area is in km2 but the test suite mention that Area is in m2.
ChrisR
on 11 Mar 2023
Corrected. Thanks Dyuman.
Solution Comments
Show commentsProblem Recent Solvers5
Suggested Problems
-
Remove any row in which a NaN appears
8565 Solvers
-
289 Solvers
-
Reverse the elements of an array
1008 Solvers
-
667 Solvers
-
367 Solvers
More from this Author271
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!