forked from: Logistic equation

