x=r*x*(1-x)
and plots both the time series and the bifurcation diagram.
Begin
Range of r (order is immaterial; if one is 0, only one value will be used):
Initial condition: