Rectangular function

*To*: mathgroup at smc.vnet.net*Subject*: [mg14036] Rectangular function*From*: Andrew Strobel <A.Strobel at gmx.net>*Date*: Wed, 16 Sep 1998 14:12:13 -0400*Organization*: Technikum Winterthur Ingenieurschule*Sender*: owner-wri-mathgroup at wolfram.com

I'd like to simulate a rectangular voltage source. How can I define such a function in Mathematica? Example: It must be possible then to multiply a Sinus-function with the rectangular function. Thank you for your help Andrew