Fabian Peter Hammerle 8 yıl önce
işleme
c8b3673822
1 değiştirilmiş dosya ile 12 ekleme ve 0 silme
  1. 12 0
      plot.py

+ 12 - 0
plot.py

@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+
+import numpy as np
+import matplotlib.pyplot as plt
+
+def p(n):
+    return 1 - (5/6)**n
+
+n = np.arange(0, 100, 1)
+plt.semilogx(n, p(n));
+
+plt.show();