%1-D discrete dynamical system
 
    clear
    format long

    %final time
    tf=145;
    
    %Time axis
    t=linspace(0, tf, tf+1);

    %initial condition
    x(1)=0.4;

    %iterate the map
    for n=1:tf
        x(n+1)=x(n)+2.75*x(n)*(1-x(n));
    end %end of n's for loop    

    %plot the result
    plot(t(:),x(:))
