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
// ---------------------------------------------------------------------------
// Copyright: (c) 2022 ff. Michael Amrhein (michael@adrhinum.de)
// License: This program is part of a larger application. For license
// details please read the file LICENSE.TXT provided together
// with the application.
// ---------------------------------------------------------------------------
// $Source: src/energy.rs $
// $Revision: 2022-04-16T08:18:48+02:00 $
//! Definition of derived quantity `Energy`.
use crate::;
/// Property that must be transferred to an object in order to perform work on
/// or to heat it.
///
/// Definition: Force·Length
///
/// Reference unit: Joule ('J' = 'N·m' = 'kg·m²/s²')
///
/// Predefined units:
///
/// | Symbol | Name | Definition | Equivalent in 'J' |
/// |--------|-------------------------|-------------------|-------------------|
/// | Nm | Newton Meter | N·m | 1 |
/// | Ws | Watt Second | W·s | 1 |
/// | kWh | Kilowatt Hour | kW·h | 3600000 |