結果 : inverse function of a piecewise function