Any programming language includes many built-in functions that can be used in arithmetic expressions.
To use additional functions, you often have to connect additional libraries.
For example, the most commonly used standard mathematical functions and their writing in Java
Math.abs(i)
absolute value of i \(|i|\)
Math.sqrt(x)
\(\sqrt x\)
Math.pow(x,y)
\(x^y\)
Remember that the function argument is always written in brackets.