結果 : define gradient of a scalar point function with example