Advertisement
575

Exponential distribution

575
Nov 6th, 2022 (edited)
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. # Экспоненциальное распределение
  2. def Exp(l, a, N):
  3.     return -(1 / l) * np.log(RStandart(N)) + a
  4.  
  5. E = Exp(1, -1, 5000)
  6. DrawHistogram(-10, 10, 0, 0.1, E)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement