# Sqrt

Sqrt[z]

or gives the square root of z.

# Details

• Mathematical function, suitable for both symbolic and numerical manipulation.
• can be entered using or (@z).
• Sqrt[z] is converted to .
• Sqrt[z^2] is not automatically converted to z.
• Sqrt[a b] is not automatically converted to Sqrt[a]Sqrt[b].
• These conversions can be done using PowerExpand, but will typically be correct only for positive real arguments.
• For certain special arguments, Sqrt automatically evaluates to exact values.
• Sqrt can be evaluated to arbitrary numerical precision.
• Sqrt automatically threads over lists.
• In StandardForm, Sqrt[z] is printed as .
• z can also be used for input. The character is entered as sqrt or \[Sqrt].

# Examples

open allclose all

## Basic Examples(7)

 In[1]:=
 Out[1]=

Evaluate numerically to any precision:

 In[1]:=
 Out[1]=

Negative numbers have imaginary square roots:

 In[1]:=
 Out[1]=

 In[1]:=
 Out[1]=
 In[1]:=
 Out[1]=

is not automatically replaced by :

 In[1]:=
 Out[1]=

It can be simplified to if one assumes :

 In[2]:=
 Out[2]=

Enter using :

 In[1]:=
 Out[1]=