Beruflich Dokumente
Kultur Dokumente
CODES
Jeane Anne M. Dagoy
program logisticmap
implicit none
loop variables
o = 11
p = 50
x_0 = 0.35
r_0 = 1.0
n = 599
q = 1000
(10,
(11,
(12,
(13,
(14,
(15,
(16,
(17,
(18,
(19,
(20,
(21,
(22,
file
file
file
file
file
file
file
file
file
file
file
file
file
=
=
=
=
=
=
=
=
=
=
=
=
=
!#######################################
subroutine calculate1(o, p, x_0, r, m)
implicit none
data_r.dat)
Lmap1.dat)
Lmap2.dat)
Lmap3.dat)
Lmap4.dat)
Lmap5.dat)
Lmap6.dat)
Lmap7.dat)
Lmap8.dat)
Lmap9.dat)
Lmap10.dat)
Lmap11.dat)
Lmap.dat)
ra(m,2)=x_n
end do
call store1 (r, ra, m, p)
end do
!#######################################
subroutine calculate2(l, n, m, r_0, x_0, q)
implicit none
x_n=x_0
r=r_0
do l=1, n
r=r+0.005
do m=1,q
x_n=r*x_n*(1-x_n)
rb(m,1)=r
rb(m,2)=x_n
end do
call store2(rb, m, q)
end do
!#######################################
end if
subroutine store1(r, ra, m, p)
implicit none
end do
real*8 :: ra(50,2), r
integer*4 :: m, p, col
do m=1, p
subroutine store2(rb, m, q)
implicit none
real*8 :: rb(599000,2)
integer*4 :: m, q, col
do m=1,q
write (22,42) (rb(m,col), col=1,2)
42 format (f7.3, f21.10)
end do
end subroutine store2