結果 : how to do partial derivatives in python