# Square root (sqrt)

Square root; sqrt(x) is the power x^(1/2).

## How to write it

### sqrt(x)

**x**

The number or expression. Takes an expression.

## Examples

- $\displaystyle \sqrt{16} = 4$

  `sqrt(16)`

  In the solver, `sqrt(16)` gives `4`.

  [Open in the solver](https://hilberon.com/?q=sqrt%2816%29)
- $\displaystyle \sqrt{8} = 2 \sqrt{2}$

  `sqrt(8)`

  In the solver, `sqrt(8)` gives `2sqrt(2)`.

  [Open in the solver](https://hilberon.com/?q=sqrt%288%29)

## Related functions

- [subtract](https://hilberon.com/library/subtract)

  A difference: the function form of -.
- [sign](https://hilberon.com/library/sign)

  Sign of a number: -1, 0 or 1.
- [times](https://hilberon.com/library/times)

  Product of numbers: the function form of \*.
- [round](https://hilberon.com/library/round)

  Nearest whole number, with halves rounded away from zero.
- [trunc](https://hilberon.com/library/trunc)

  A number with its fractional part cut off.
- [re](https://hilberon.com/library/re)

  Real part of a complex number.

---
Source: https://hilberon.com/library/sqrt
