Logarithmic 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[Standard]

  

ln

  

natural logarithmic function in the Standard Units environment

  

log

  

general logarithmic function in the Standard Units environment

  

log10

  

common logarithmic function in the Standard Units environment

  

log2

  

binary logarithmic function in the Standard Units environment

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ln(expr)

 

log(expr)

 

log10(expr)

 

log2(expr)

 

log[b](expr)

logbexpr

Parameters

expr

-

algebraic expression

b

-

algebraic expression, the base of the logarithm

Description

• 

In the Standard Units environment, the arguments for the logarithmic functions can be unit-free, or multiplied by a unit that is energy-equivalent to a rational power of the dimension length(base)/length. Examples of such units are watt/watt(base) (power ratio) or voltage/voltage(base) (voltage ratio).

• 

For non-unit-free expressions, the result is expressed in the dimension of logarithmic gain. The unit of the object returned is the neper by default.

• 

For other properties, see the global function ln.

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.

withUnitsStandard:

VRln5.32Unitvoltsvoltsbase

VR1.671473303Np

(1)

PRln5.32Unitwattswattsbase

PR0.8357366515Np

(2)

mapconvert,VR,PR,units,dB

14.51823264dB,7.259116321dB

(3)

convertvoltsvoltsbase,dimensions,energy

lengthbaselength

(4)

convertwattswattsbase,dimensions,energy

lengthbase2length2

(5)

Compatibility

• 

The Units[Standard][log2] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

ln

Units

Units/logarithmic_gain

Units/Standard

Units/Standard/exp