The Heaviside command takes as argument a real number. Heaviside returns the value of the Heaviside function; namely 0 if the input is negative, 1 otherwise. Input:
Output:
Input: