GoConqr has a new look! Let us know what you think.

Flowchart

Algoritmo congruencial aditivo

Bryan Sucht! Simulacion Spanish

Flowchart content

  1. Inicio

  2. i=0

    c=0

    a=0

    q=0

  3. Ingresar el numero total de numeros enteros que va a ingresar (n=5)

  4. c<n

  5. Ingresa un Numero (X1=65, X2=89, X3=98, X4=03, X5=69)

    i=i+1 i=4+1

  6. ¿Cuanto numeros desea generar?(k=7)

  7. a<k

  8. Xi+1=((Xi-1)+(Xi-n))mod(m) X6=(60+65)mod(100)=34

    rq+1=(Xi+1)/(m-1) r1=34/(100-1)=0.3434

    i=i+1 i=6+1=7

    q=q+1 q=0+1=1

  9. Si

  10. No

  11. Si

  12. No

Information

Description
es una forma de generar numeros aleatorios
Created by
Bryan Sucht!
Views
832
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?