1. The problem statement, all variables and given/known data I am using Crank–Nicolson to solve a logistic function, modeling population growth. To get the next time step, I have to solve a quadratic equation. The problem is that i get two solutions for y(i+1). Does it mean that I am doing it wrong? If not, can I just pick the solution that is closest to y(i)?