You are on page 1of 2

ans =

1.

--> %i
%i =

0. + i

--> %pi
%pi =

3.1415927

--> sin(%pi/2)
ans =

1.

--> %eps
%eps =

2.220D-16

--> %i
%i =

0. + i

--> %pi
%pi =

3.1415927

--> exp

exp: Wrong number of input argument(s): 1 expected.

--> %exp

Undefined variable: %exp

--> exp()

exp: Wrong number of input argument(s): 1 expected.

--> %exp()

Undefined variable: %exp

--> %exp(1)

Undefined variable: %exp

--> exp(1)
ans =

2.7182818
--> log(1)
ans =

0.

--> log10(5)
ans =

0.6989700

--> diary(0)

You might also like