結果 : how to check if an inverse function is correct