e0=0.5
a=-0.1
t=0
epsilon=[]
b=[]
import numpy as np
import math
import matplotlib.pyplot as plt
for i in range(100):
epsilon.append(e0 * math.exp(a*i))
#print(epsilon)
b.append(i)
plt.plot(b,epsilon)
plt.show()
转载于:https://www.cnblogs.com/fuhang/p/8915741.html