function f=logisticMap(x, r)

value = x + r*x*(1 - x);

f = value;