Example of Piecewise Function