Estimating the optimal order quantity and the maximum expected profit for single-period inventory decisions