R=input('R=');
N=input('N>10=');
M=input('M=');
bar=zeros(N,length(R));
x=rand;
for j=1:M
	x=logistic(x,R);
end

for k=1:N
	bar(k,:)=x;
	x=logistic(x,R);
	
end
for k=10:N
	hold on
	plot(R,bar(k,:),'.')
end
