Units[Simple] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Simple : Units/Simple/sqrt

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

Parameters

Description

Examples

Calling Sequence

sqrt(x)

x

root[n](x)

rootnx

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 unit and then enter the unit.

– 

When you edit a unit, double brackets appear around it.

withUnitsSimple:

sqrt3.532Unitm2

1.879361594m

(1)

root3.532Unitm3,3

1.522907638m

(2)

root33.532Unitm3

0.7614538193+1.318876702Im

(3)

surd3.532Unitm3,3

1.522907638m

(4)

surd16.532Unitm4,4

2.016421638m

(5)

See Also

root

sqrt

surd

Units

Units/Simple