TeX source:
d=\frac{t}{\frac{1}{n_1}+\frac{1}{n_2}}