MATLAB-based program that generates plots of input power and shaft torque for variable-frequency operation of three-phase induction motors