Text this: Design of voltage regulator with unity power factor