You would declare them as
```
trapz(y, dx::Number) = ...
trapz(y, dx) = ...
```