TeX source:
\mathrm{f}(x)=x+1, \mathrm{~g}(x)=\cos (x)