Programa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
L = .000033 | |
estGen = 2000 | |
Lista = [0.000025, 0.000029, 0.000030, 0.000031, 0.000032, 0.000033, .000034, 0\ | |
.000035, 0.0000355, 0.000036, 0.000037, 0.000038, 0.000039, 0.000040] | |
for j in range(len(Lista)): | |
for i in range(10000): | |
#p(n+1)=lista[j] * p(n) * (100000 -estGen) | |
sigGen = Lista[j] * estGen * (100000 - estGen) | |
#print sigGen | |
n = sigGen - 1 | |
print ""+ str(estGen) +str(" ")+ str(n) | |
estGen = sigGen |
Ejecución
Referencias
http://www.upscale.utoronto.ca/cgi-bin/Logistic/Logistic.cgi
PENDIENTE
ResponderEliminar1+1 en reporte y programa en T3
ResponderEliminar