Calculate the power factor from real and apparent power. The new value is printed in example.py.
Also this integrates some other improvements for example.py I had lying around.
Fixes #3 .
No due date set.
No dependencies set.
Deleting a branch is permanent. It CANNOT be undone. Continue?