...
The slope will be computed as:
THe discharge can be calcuted from the stage by using the following equation:
In case the logaritmic option is selected the interpolation will be performed on a table with the logaritmic values of the stages and the discharges.
...