Getting started with the logistic function