from math import exp def ex_growth(a,T,r0,n): """ Explicit scheme, using n time intervals, for r'(t)=a r(t) for 0