MATLAB: How to write an exponential eqn.

i want to write this the following equation in matlab
e-((r+1)^2)/2
how should i write the exponential symbol "e"

Best Answer

a=100
y=exp(a)