結果 : gradient of a scalar function example