結果 : take derivative of a function in python