結果 : taking partial derivatives in python