Optimal experiments in the presence of a learning effect: a problem suggested by software production