Regulating voltage or current wherein the variable is dc using uncontrolled devices with non-linear characteristics being semiconductor devices