Rewrite the following function using piecewise notation, show all w...