Apr-11-2019, 05:50 AM
The last function should read
def E_erlang(Gos, A0): a = 0 b = n c = 0 Gos_c = Gos_erlang(c, n) while abs(a - b) > 0.000001: c = (a + b) / 2 if Gos_c < Gos: a = c else: b = c return Gos_cAlso when you do this:
print('Capacity :', c)c isn't defined anywhere.