4 import TypesettingTricks
6 sinExample:: SignalRep Time Voltage
7 sinExample = sine (V 2.0) (Hz 10) 0.0
8 sinPlot = plotExample "sine" sinExample 0.0 1.0
9 pieceExample = toSig Pulse_dc
10 { start_delay=(Sec 1.0),
12 pulse_width=(Sec 3.0),
14 dc_offset=(V (- 1.0)),
17 over=Overshoot{ringing=(V 0.2),
18 pulse_width=(Sec 3.0),
21 under=Overshoot{ringing=(V (- 0.25)),
22 pulse_width=(Sec 3.0),
23 oscillation=(Hz 2.10),
25 piecePlot = plotExample "piece" pieceExample 0.0 20.0