DEFAULT_ARGUMENT_VALUE 1 2.6 # by default show r in [2.6:4] DEFAULT_ARGUMENT_VALUE 2 4 steps_per_r = 2^10 steps_asymptotic = 2^8 steps_for_r = 2^10 static_steps = steps_for_r*steps_per_r # change r every steps_per_r steps IF mod(step_static,steps_per_r)=1 r = quasi_random($1,$2) ENDIF x_init = 0.5 # start at x = 0.5 x = r*x*(1-x) # apply the map IF step_static-steps_per_r*floor(step_static/steps_per_r)>(steps_per_r-steps_asymptotic) # write the asymptotic behavior only PRINT r x ENDIF