estimate Sample Size Via Student T
Estimate the sample size based on iterating the half-width equation based on the Student-T distribution: hw = t(1-alpha/2, n-1)*s/sqrt(n) <= desiredHW
Return
the estimated sample size
Parameters
desired HW
the desired half-width (must be bigger than 0)
level
the confidence level (must be between 0 and 1)