結果 : how to do partial differentiation in python