結果 : how to calculate derivative using python