If you only have exact distributional parameters, the formula Bonnie gave is correct. However, if you only have sample data, you should modify her formula for variance by using n1-1 everywhere in the formula instead of n1, and n2-1 instead of n2. (The attached file is supposed to be saved as version 8.)