Step function

This is a function where it is defined piecewise for different region of .