# Result: Manning's n of 0.173
n_vanrijn1984(10,0.025,1,2,6)
# Result: Manning's n of 0.047
n_vanrijn1984(0.33,0.15,0.3,0.5,2)
# Result: Manning's n of 0.028
n_vanrijn1984(1.55,0.033,0.5,0.8,1)
# Result: Depth must be within 0.025 and 17 m.
n_vanrijn1984(0.01,0.033,0.5,0.8,1)
Run the code above in your browser using DataLab