Physlib.Units.WithDim.Speed
Speed
In this module we define the dimensionful type corresponding to an speed. We define specific instances of speed, such as miles per hour, kilometers per hour, etc.
Basic speeds
Speed in SI units
Relations between speeds
14 declarations
The dimensionful type of speed with dimension
The type `DimSpeed` represents the set of speeds as dimensionful quantities. It is defined as the type of functions that assign a non-negative real number to each system of units, consistent with the physical dimension of speed , where and denote the dimensions of length and time respectively. Specifically, an element of `DimSpeed` satisfies the scaling relation across different unit choices according to the dimension .
Speed of as a dimensionful quantity
The constant `DimSpeed.oneMeterPerSecond` represents the dimensionful quantity corresponding to a speed of . It is an element of the type , which consists of functions mapping unit choices to values consistent with the physical dimension . Specifically, it is defined as the unique dimensionful quantity that evaluates to when the system of units is the International System of Units (SI).
Speed of as a dimensionful quantity
The constant `DimSpeed.oneMilePerHour` represents the dimensionful quantity corresponding to a speed of (miles per hour). It is an element of `DimSpeed`, the type of quantities with physical dimension . Mathematically, it is defined as the dimensionful quantity (a function mapping unit choices to values) that evaluates to in a system of units where the unit of length is miles and the unit of time is hours.
Speed of as a dimensionful quantity
The constant `DimSpeed.oneKilometerPerHour` represents the dimensionful quantity corresponding to a speed of . It is an element of `DimSpeed`, the type of quantities with physical dimension . Mathematically, it is defined as the dimensionful quantity (a function mapping unit choices to values) that evaluates to in a unit system where the unit of length is kilometers and the unit of time is hours.
Speed of as a dimensionful quantity
The constant `DimSpeed.oneKnot` represents the dimensionful physical quantity corresponding to a speed of knot. It is an element of the type `DimSpeed`, which encompasses quantities with the physical dimension . Mathematically, it is defined as the dimensionful quantity (a function mapping unit choices to values) that evaluates to in a system of units where the unit of length is nautical miles and the unit of time is hours.
Dimensionful speed of light
The constant `DimSpeed.speedOfLight` represents the dimensionful quantity corresponding to the speed of light, . It is an element of the type of quantities with physical dimension . Specifically, it is defined as the dimensionful quantity that, when evaluated in the International System of Units (SI), equals , representing .
The value of in SI is
The dimensionful speed quantity evaluates to when the system of units used is the International System of Units (SI).
in SI units equals
The numerical value of the dimensionful quantity representing 1 mile per hour, when evaluated in the International System of Units (SI), is . In the SI system, where the unit of speed is meters per second, this represents the conversion .
in SI units
The value of the dimensionful speed when evaluated in the International System of Units (SI) is equal to .
The speed of in SI units is
The value of the dimensionful quantity representing a speed of one knot, when evaluated in the International System of Units (SI), is equal to . Given that the SI unit for speed is meters per second, this means .
Speed of Light in SI Units is
In the International System of Units (SI), the numerical value of the dimensionful speed of light is equal to .
The dimensionful speed of one knot is equal to the product of the scalar and the dimensionful speed of one kilometer per hour. Mathematically, this is expressed as , where the multiplication represents the scalar action of non-negative reals on the type of dimensionful speeds.
The dimensionful quantity representing a speed of is equal to the product of the scalar and the dimensionful quantity representing a speed of :
The dimensionful speed of one meter per second, denoted as , is equal to the scalar multiplication of the constant and the dimensionful speed of one mile per hour, denoted as : Here, and are elements of the type `DimSpeed` representing quantities with physical dimension .
