Documente Academic
Documente Profesional
Documente Cultură
PRESENTADO POR
PROFESOR
1. INTRODUCCIÓN
En donde, ∝ es mayor a cero (se sugiere valores de 0.1 a 1.3 tome mínimo tres
valores), 𝛽 < 1 (tome un valor mínimo), con semillas (x0 & y0) entre 0 y 1.
Ejercicio y planteamiento
Inicio
x=numeric (100)
y=numeric (100)
a=0.03
B=0.1
X [1] = 0.4
y [1] = 0.7
y [n + 1] = B * x[n+1]
Fin
2. PSEUDO CÓDIGO.
x=numeric (100)
y=numeric (100)
a=0.4
B=0.6
X [1] = 0.3
y [1] = 0.9
Rn1=x
Rn2=y
For (n in seq (1: length (x))) {
x [n + 1] = (1 + y[n] - (a*(x[n]) ^ 2))
y [n + 1] = B * x[n+1]
}
3. RESULTADOS Y GRAFICAS
>x
[1] 0.3000000 1.8640000 0.7286016 1.2248168 1.1348196 1.1657656 1.1558556
[8] 1.1591125 1.1580508 1.1583978 1.1582845 1.1583215 1.1583094 1.1583134
[15] 1.1583121 1.1583125 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[22] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[29] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[36] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[43] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[50] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[57] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[64] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[71] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[78] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[85] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[92] 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124 1.1583124
[99] 1.1583124 1.1583124 1.1583124
>y
[1] 0.9000000 1.1184000 0.4371610 0.7348901 0.6808918 0.6994593 0.6935134
[8] 0.6954675 0.6948305 0.6950387 0.6949707 0.6949929 0.6949857 0.6949880
[15] 0.6949872 0.6949875 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[22] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[29] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[36] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[43] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[50] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[57] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[64] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[71] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[78] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[85] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[92] 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874 0.6949874
[99] 0.6949874 0.6949874 0.6949874
> plot (x, type = "l")
> hist(y)
> hist (Rn1)