An investigation using the curve fitting method to estimate the peak value of the COVID-19 outbreak and its application