Text this: The switching function: analysis of power electronic circuits