import matplotlib.pyplot as plt xx=[0] yy=[1] x=0 y=1 for i in range(10): y=1.1*y-0.2*x/y x = x + 0.1 xx.append(x) yy.append(y) plt.plot(xx,yy) plt.show()
import matplotlib.pyplot as plt xx=[0] yy=[1] x=0 y=1 for i in range(10): y=1.1*y-0.2*x/y x = x + 0.1 xx.append(x) yy.append(y) plt.plot(xx,yy) plt.show()