Algoritmo Congruencial Lineal

Description

generador de numeros aleatorios
Bryan Sucht!
Flowchart by Bryan Sucht!, updated more than 1 year ago
Bryan Sucht!
Created by Bryan Sucht! about 6 years ago
698
0

Resource summary

Flowchart nodes

  • Inicio
  • ​​i=0 Pedir Semilla(X0=6) Pedir g (g=3) Pedir k (k=3) Pedir c(c=7)  
  • m=2^g m=2^3=8 a=1+(4*k) a=1+(4*3)=13 ​​​​​  
  • Xi>0 g>0 y es entero k>0 y es entero c>0 y es primo
  • Xi+1=(a*Xi+c)mod(m)     X1=(13*6+7)mod(8)=5 ri+1=(Xi+1)/(m-1)    r1=(5)/8-1=0.714 i=i+1          i=0+1=1
  • Repetir hasta  i==m
  • Si
  • No
  • Si
  • No
Show full summary Hide full summary

Similar

EXAMEN DE SIMULACION PAEP
CAROLINA SABORI
Simulación Corto #3 Propedeutica - Anatomía de Tórax y Abdomen
CAE I 2020 MEDUSAC
Algoritmo congruencial aditivo
Bryan Sucht!
LAS ARQUITECTURAS DE NEGOCIO, DE PROCESOS Y DE BPM
Elasio Rengifo Renteria
Examen Completo
Abel Romo
Simulacion Unitec
JORGE ENRIQUE SANTOVENA
conceptos matemáticos
adan de santiago avalos
| FenixZone SAMP | User Test |
Franco Petrone
Simulación(Lenguajes - aplicaciones)
Josiel Ramos
LAS PARADOJAS POSTMODERNAS
David Pacheco
Multiplicador Constante
Bryan Sucht!