Physlib.Units.Examples
22 declarations
A length of meters
#meters400This definition represents a physical quantity of meters. It is constructed as a dimensionful value with the dimension of length and a numerical magnitude of within the International System of Units (SI).
The proposition for dimensionful quantities
#EnergyMassWithDim'Let be a physical quantity with the dimension of mass , be a quantity with the dimension of energy , and be a quantity with the dimension of velocity . This definition represents the proposition that . Here, `WithDim D ℝ` denotes a real number associated with a specific physical dimension .
is dimensionally correct
#energyMassWithDim'_isDimensionallyCorrectThe physical proposition is dimensionally correct, where is a quantity with the dimension of mass , is a quantity with the dimension of energy , and is a quantity with the dimension of velocity .
Newton's second law with dimensions
#NewtonsSecondWithDim'Let , , and represent the fundamental physical dimensions of mass, length, and time, respectively. This proposition defines the relationship between a mass with dimension , a force with dimension , and an acceleration with dimension such that .
Newton's second law is dimensionally correct
#newtonsSecondWithDim'_isDimensionallyCorrectThe proposition representing Newton's second law, , is dimensionally correct. Here, is a quantity with the dimension of mass , is a quantity with the dimension of acceleration , and is a quantity with the dimension of force , where , , and denote the fundamental dimensions of mass, length, and time, respectively.
The proposition for dimensioned quantities and
#SpeedEqLet be a real-valued quantity with dimensions of speed (), be a quantity with dimensions of length (), and be a quantity with dimensions of time (). The proposition `SpeedEq` states that the speed is equal to the quotient of the distance and the time , expressed as .
The proposition is dimensionally correct
#speedEq_isDimensionallyCorrectThe proposition , where is a quantity with dimensions of speed (), has dimensions of length (), and has dimensions of time (), is dimensionally correct.
Dimensional equality
#OddDimensionsLet , and denote the dimensions of mass, length, time, temperature, and charge, respectively. Given the following quantities: - of dimension - of dimension - of dimension - of dimension - of dimension - of dimension the proposition `OddDimensions` is defined by the equality: This serves as an example of a dimensionally consistent relation involving complex combinations of physical dimensions.
`OddDimensions` is dimensionally correct
#oddDimensions_isDimensionallyCorrectThe proposition `OddDimensions` is dimensionally correct. This proposition is defined for the following quantities: - with dimension of mass - with dimension of temperature - with dimension of current (charge per time) - with dimension of length - with dimension of time - with dimension by the equality: Dimensional correctness indicates that the physical dimensions of the expressions on both sides of the equality are identical.
The proposition for dimensioned variables
#EnergyMassWithDimLet be a real-valued quantity with mass dimension , be a quantity with energy dimension , and be a quantity with velocity dimension . The proposition states that the underlying numerical value of is equal to the product of the numerical value of and the square of the numerical value of , written as .
Dimensional Correctness of
#energyMassWithDim_isDimensionallyCorrectThe proposition representing the relationship is dimensionally correct, where is a physical quantity with energy dimensions , is a quantity with mass dimension , and is a quantity with velocity dimensions .
Newton's second law with dimensions
#NewtonsSecondWithDimThis definition establishes a proposition for Newton's second law using physical quantities with associated dimensions. Given a mass with dimension , a force with dimension , and an acceleration with dimension (where each is represented as a real-valued quantity using the `WithDim` structure), the proposition states that the underlying numerical value of the force is equal to the product of the underlying numerical values of the mass and the acceleration, i.e., .
Newton's second law is dimensionally correct
#newtonsSecondWithDim_isDimensionallyCorrectThe proposition representing Newton's second law, defined by the relation for a force with dimensions , a mass with dimension , and an acceleration with dimensions , is dimensionally correct.
Dimensionally inconsistent relation
#EnergyMassWithDimNotGiven a mass with dimension , an energy with dimension , and a speed with dimension , this proposition is defined by the equality of their underlying numerical values: This represents a version of the energy-mass relation that is dimensionally inconsistent, as the units of the left-hand side and right-hand side do not match.
is not dimensionally correct
#energyMassWithDimNot_not_isDimensionallyCorrectThe proposition , represented by the equality of numerical values , is not dimensionally correct, where is a mass with dimension , is an energy with dimensions , and is a speed with dimensions .
Mass-energy equivalence in units
#EnergyMassGiven a mass with dimension , an energy with dimension , and a system of unit choices , this proposition asserts that the numerical value of is equal to the numerical value of multiplied by the square of the numerical value of the speed of light corresponding to the units . In other words, it represents the equation .
Mass-energy equivalence in a system of units
#EnergyMass'Given a dimensionful mass (with dimension ) and a dimensionful energy (with dimension ), this proposition states that for a specific choice of units , the numerical value of the energy in those units is equal to the product of the numerical value of the mass and the square of the numerical value of the speed of light in the same unit system . Mathematically, this is expressed as .
Dimensional Correctness of
#energyMass_isDimensionallyCorrectThe proposition `EnergyMass`, which represents the mass-energy equivalence relation involving a mass of dimension , an energy of dimension , and a choice of unit system , is dimensionally correct.
Mass-energy equivalence for in SI units
#example1_energyMassIn the International System of Units (SI), the mass-energy equivalence relation holds for a mass with a numerical value of and an energy with a numerical value of .
holds for scaled SI values in an arbitrary unit system
#example2_energyMassFor any system of unit choices , the mass-energy equivalence relation holds in system for a mass and an energy whose numerical values are obtained by scaling the SI values and to the unit system using the `scaleUnit` function.
Dimensionally consistent proposition
#CosDimGiven a value with the dimension of time and a value with the dimension of inverse time , this proposition asserts that the cosine of the product of their underlying numerical values is equal to a dimensionless real number :
The proposition is dimensionally correct
#cosDim_isDimensionallyCorrectThe proposition defined by is dimensionally correct, where is a quantity with the dimension of time , is a quantity with the dimension of inverse time , and is a dimensionless real number.
