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.
In Mathematica, if you want to define a function, say x+y+z, we have to the following, f[x_ , y_ ,z_] := x+y+z (shift+enter) f[2,1,3]=6 for further information, see documentation.