import numpy as np
import matplotlib.pyplot as plt
from sympy import *
#from sympy import symbols
#x = Symbol('x')
#y = x**2
#y1 = x**3
#yprime = y.diff(x)
#yprime1 = y1.diff(x)
#result = yprime*y1+yprime1*y
#print(result)
#**偏微分**
#x, y = symbols('x,y')
#对x偏微分
#y1 = x**2 + y**2
#yprime1 = y1.diff(x)
#print(yprime1)
#对y偏微分
#yprime2 = y1.diff(y)
#print(yprime2)
#print(yprime1+yprime2)