Energy Conversion

Share:

Description

Conversion of energy units.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

Arguments

x

an R object containing numerical values to be converted

Details

These functions use the universalConstants data set to convert energy values from a given unit to an other. Their are first converted to Joule and then to the desired unit. With care, the functions may be applied also to otherquantities (e.g. temperatures, wavenumbers, etc...)

Value

Return x multiplied by conversion factors.

See Also

universalConstants

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Return the Planck constant in eV.s
Joule2electronVolt(universalConstants["h","Value"])

# Return the Boltzmann constant in eV.K-1
Joule2electronVolt(universalConstants["kb","Value"])

# Convert electron Volt into cm-1 (E = h.c.nu_bar)
electronVolt2centimeterMinusOne(0.2)

# Convert electron Volt into Hz (E = h.nu)
electronVolt2Hertz(0.2)

# Convert Kelvin into electron Volt (E = kb.T)
Kelvin2electronVolt(300)