* hwr.py
Code for calculating various things in half wave rectifier
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update hwr.py
Corrected docktest for the functons
* update checks hwr.py
* Fix grammar in half wave rectifier functions' docstrings
Corrected grammar and improved clarity in docstrings.
* non zero --> non-zero
* Fix error message for negative or zero resistance
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>