TeX source:
r= \sqrt{a^2+b^2}