|
Further Examples: UnitStep
Define the function u.
In[1]:= 
This generates a square wave.
In[2]:= 

Here is the integral of u from to .
In[3]:= 
Out[3]= 
When the argument of UnitStep is a polynomial with simple real roots, FunctionExpand expands the polynomial into monomials.
In[4]:= 
Out[4]= 
This gives a plot of the characteristic function of the unit disk.
In[5]:= 

In[6]:= 
|