natural logarithmic function in the Natural Units environment - Maple Help

Online Help

All Products    Maple    MapleSim


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

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

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

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

Calling Sequence

ln(expr)

log(expr)

log10(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

Note: In Maple 2015 and later versions, units are not surrounded by double brackets.

withUnits[Natural]:

VR:=ln5.32voltsvoltsbase

VR:=1.671473303Np

(1)

PR:=ln5.32wattswattsbase

PR:=0.8357366515Np

(2)

dbls:=mapconvert,VR,PR,'units',dB

dbls:=14.51823264dB,7.259116321dB

(3)

convertvoltsvoltsbase,'dimensions','energy'

lengthbaselength

(4)

convertwattswattsbase,'dimensions','energy'

lengthbase2length2

(5)

mapexp,dbls

5.319999998mbasem,2.306512518mbasem

(6)

See Also

ln, Units, Units/logarithmic_gain, Units/Natural, Units/Natural/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