TeX source:
R = {\frac{{\frac{1}{3}}(24W+1000)}{W}}