In the study of electronics, the concept of duty-cycle pops up in various places such as digital circuits, one-shots, switching regulators, and D/A converters to mention a few. Lab experiments to examine duty-cycle usually require two parts: a square-wave