Step-Wise Functions

How do I enter a step-wise function into WolframAlpha? How do I enter a step-wise differential equation?