結果 : compute derivative in python