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[Natural]

  

ln

  

natural logarithmic function in the Natural Units environment

  

log

  

general logarithmic function in the Natural Units environment

  

log10

  

common logarithmic function in the Natural Units environment

  

log2

  

binary logarithmic function in the Natural 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 Natural 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).

• 

By default, the unit of the object returned is the nepers.

• 

For other properties, see the global function ln.

Examples

withUnitsNatural:

VRln5.32voltsvoltsbase

VR1.671473303Np

(1)

PRln5.32wattswattsbase

PR0.8357366515Np

(2)

dblsmapconvert,VR,PR,units,dB

dbls14.51823264dB,7.259116321dB

(3)

convertvoltsvoltsbase,dimensions,energy

lengthbaselength

(4)

convertwattswattsbase,dimensions,energy

lengthbase2length2

(5)

mapexp,dbls

5.319999998mbasem,2.306512518mbasem

(6)

Compatibility

• 

The Units[Natural][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/Natural

Units/Natural/exp