I do not have my textbooks in front of me now so my question is how do you compute THD based upon this information using excel?

All I need is an equation for hanning. Also it would be helpful for hamming, blackman, and the other common windowing functions.

Thanks,

kingneb