.
S[:,i]*(1+μ*dt+σ*np.sqrt(dt)*Z[:,i]) plt.figure(figsize=(17,10)) a = [ rn.randint(0,Paths) for j in range(1,20)] for runer in a: plt.plot(np.arange(0,T+dt,dt),S[runer]) Sixth, let’s find the estimate of the future stock price V = S[:,-1] print("The future stock price is: {:.2f}".format(np.mean(V)))