You are on page 1of 1

Arithmetic operators Syntax Screenshot

- --> 2-1
Subtraction ans =

1.
* --> 2*2
Multiplication ans =

4.
/ or \ --> 16/2
Division ans =

8.
^ --> 4^3
Exponentiation ans =

64.
Sqrt(x) --> Sqrt (144)
Square root ans =

12.
nthroot(x, n) --> nthroot (1, 2)
ans =
1. nth root
1.

abs(x) --> abs(1)


Absolute value ans =

19.
Log(x) --> log (144)
Natural logarithm ans =

0.
%e --> %e
Euler’s constant %e =

2.7182818
%pi --> %pi
%pi =

3.1415927

You might also like