A Fortran program that does the calculation and writes the
results out to
bifi.txt:
bifi.f
The file
bifi.txt can be
plotted with, e.g., gnuplot (
plot "bifi.txt" with
dots ). The resulting diagram is the
bifurcation
diagram of the
logistic map $y_{n+1} = x * y_n -
x * y_n^2$: