結果 : mathematica define function with cases