Root Functions - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

Units[Simple]

 sqrt
 the square root function in the Simple Units environment
 root
 the nth root function in the Simple Units environment
 surd
 the non-principal root function in the Simple Units environment

Calling Sequence

 sqrt(x) $\sqrt{x}$ root[n](x) ${\mathrm{root}}_{n}\left(x\right)$ root(x, n) surd(x, n)

Parameters

 x - algebraic expression n - integer

Description

 • The sqrt(x) function takes the square root of the unit-free portion of x and multiplies it by the unit raised to the power 1/2.
 • The root(x,n) and root[n](x) functions take the nth root of the unit-free portion of x and multiply it by the unit raised to the power 1/n.
 • The surd(x,n) function takes the nth root of the unit-free portion of x, whose (complex) argument is closest to the unit-free portion of x, and multiplies it by the unit raised to the power 1/n.
 • Every command in the Simple Units environment that needs to determine whether an expression is valid or not, does so using the Units:-TestDimensions command.
 • For other properties, see the global functions sqrt, root, and surd.

Examples

Notes:

 – To enter a unit in 2-D Math input, select the unit from the appropriate Units palette. If the unit you want is not there, select $\mathrm{unit}$ and then enter the unit.
 – When you edit a unit, double brackets appear around it.
 > $\mathrm{with}\left(\mathrm{Units}\left[\mathrm{Simple}\right]\right):$
 > $\mathrm{sqrt}\left(3.532\mathrm{Unit}\left({'m'}^{2}\right)\right)$
 ${1.879361594}{}⟦{m}⟧$ (1)
 > $\mathrm{root}\left(3.532\mathrm{Unit}\left({'m'}^{3}\right),3\right)$
 ${1.522907638}{}⟦{m}⟧$ (2)
 > $\mathrm{root}\left[3\right]\left(-3.532\mathrm{Unit}\left({'m'}^{3}\right)\right)$
 $\left({0.7614538193}{+}{1.318876702}{}{I}\right){}⟦{m}⟧$ (3)
 > $\mathrm{surd}\left(-3.532\mathrm{Unit}\left({'m'}^{3}\right),3\right)$
 ${-}{1.522907638}{}⟦{m}⟧$ (4)
 > $\mathrm{surd}\left(16.532\mathrm{Unit}\left({'m'}^{4}\right),4\right)$
 ${2.016421638}{}⟦{m}⟧$ (5)

 See Also