結果 : how to calculate second derivative in python