natural logarithmic function in the Standard Units environment - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Standard : Units/Standard/ln

Units[Standard][ln] - natural logarithmic function in the Standard Units environment

Units[Standard][log] - general logarithmic function in the Standard Units environment

Units[Standard][log10] - common logarithmic function in the Standard Units environment

Calling Sequence

ln(expr)

log(expr)

log10(expr)

lob[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.

– 

In Maple 2015 and later versions, the double brackets around a unit are not displayed unless you are editing the unit.

withUnits[Standard]:

VR:=ln5.32'volts''voltsbase'

VR:=1.671473303Np

(1)

PR:=ln5.32'watts''wattsbase'

PR:=0.8357366515Np

(2)

mapconvert,VR,PR,'units','dB'

14.51823264dB,7.259116321dB

(3)

convert'volts''voltsbase','dimensions','energy'

lengthbaselength

(4)

convert'watts''wattsbase','dimensions','energy'

lengthbase2length2

(5)

See Also

ln, Units, Units/logarithmic_gain, Units/Standard, Units/Standard/exp


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam