Mathematical model, forecast and analysis on the spread of COVID-19