TeX source:
W=/frac{(q_1/varphi_1+q_2/varphi_2)}{4}