High-frequency electrical power supplies used in many industrial applications have to be able to withstand appreciable variations in load impedance. The letter describes the use of a computer to control a class-E amplifier power supply which is being developed for high-frequency induction and dielectric heating applications.