Building a Pulse-Forming Network with the Wolfram Language
In many physics experiments, a voltage or current is desired that quickly rises to a particular value, stays there for a duration of time and then declines rapidly, giving the so-called flat-top profile or square wave.