結果 : how to take partial derivatives in python