The random variable:

where is the sample mean, is the population mean, is the sample SD, and is the sample size, has a t-distribution with degrees of freedom.

Now we look up the size of a 99% interval for a t-distributed random variable with degrees of freedom, this is , so with a bit of manipulation we have the 99% interval for is:

RonL