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
-
5888 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1791 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3100 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1130 Solvers
-
Basic electricity in a dry situation
553 Solvers
More from this Author269
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!