This is LaTeX code:
[latex]
f:[a,b]\rightarrow\mathbb R, f(x):=1, \forall x\in[a,b]
[/latex]