# sqrt

Returns the square root of each element of `x`.

## Syntax

R = sqrt(x)

## Inputs

`x`- Any valid scalar | vector | matrix.

## Outputs

- R
- Square root.

## Examples

`R = sqrt(9)`

`R = 3`

`R = sqrt(3i)`

`R = 1.22474 + 1.22474i`

`R = sqrt([2,4,9])`

`R = [ 1.41421 2 3 ]`

`R = sqrt([3i, 4i, -2, 2])`

`R = [ 1.22474 + 1.22474i, 1.41421 + 1.41421i, 1.41421i, 1.41421]`

## Comments

If `x` is a complex sqrt(a+bi) finds `p`
and `q` such that (p + qi)^2 = a + bi.