I am new in Mathematica.
in matlab i define a function as: f(x)=x+1 then if i type f(2) answer is 3. how can i do this in mathematica.