Algoritmo Congruencial Multiplicativo

Description

Es un sistema para crear numeros añeatorios
Bryan Sucht!
Flowchart by Bryan Sucht!, updated more than 1 year ago
Bryan Sucht!
Created by Bryan Sucht! about 6 years ago
250
0

Resource summary

Flowchart nodes

  • Inicio
  • i=0 Pedir Semilla(Xi=17) Pedir g (g=5) Pedir k (k=2)
  • Xi>0 g>0 y es entero k>0 y es entero
  •    m=2^g       m=2^5=32     a=5+(8*k)     a=5+(8*k)=21 vida=m/4   vida=32/4
  • m>0 a>0
  • Repetir hasta  i==vida
  • Xi+1=(a*Xi)mod(m) X1=(21*17)mod(32)=5 ri+1=(Xi+1)/(m-1)  r1=(5)/(32-1)=0.1612 i=i+1 i=0+1=1
  • Si
  • Si
  • Si
  • No
  • No
  • No
Show full summary Hide full summary

Similar

Sistemas de Bienestar
Brahian Stiven Garcia Torres
ALGORITMOS
Luisa Hdz Rpo
INTOLERANCIA SOCIAL
more24a8
TIPOS DE BUSQUEDAS
Ronald Chacon
Microsoft Word
Fabricio Villacres
CIUDADES I...
JL Cadenas
CIUDADES II...
JL Cadenas
Mapa Conceptual
Laura Laguna
ÁFRICA
Ulises Yo
La diversidad y el juego
nicolesanchezand
"MAPA CONCEPTUAL"
Bertha Castillo