convert/dimensions
return dimension of a unit
Calling Sequence
Parameters
Description
Examples
convert(u, dimensions, opts)
u
-
symbol; unit of measure to convert
opts
(optional) equation(s) of the form option=value where option is one of base, energy, or symbolic; properties of the conversion
The convert(u, dimensions) function returns the dimension for a unit u.
The base dimensions include length, mass, time, electric_current, thermodynamic_temperature, amount_of_substance, luminous_intensity, amount_of_information, and currency. For a complete list use the GetDimensions(base=true) function. Complex dimensions known to the Units package are:
electric_resistivity
length^3*mass/(time^3*electric_current^2)
volume
length^3
volume_flow
length^3/time
moment_of_inertia
length^2*mass
action
length^2*mass/time
energy
length^2*mass/time^2
torque
length*length(radius)*mass/time^2
heat_capacity
length^2*mass/(time^2*thermodynamic_temperature)
magnetic_flux
length^2*mass/(time^2*electric_current)
magnetic_inductance
length^2*mass/(time^2*electric_current^2)
power
length^2*mass/time^3
electric_potential
length^2*mass/(time^3*electric_current)
electric_resistance
length^2*mass/(time^3*electric_current^2)
kinematic_viscosity
length^2/time
dose_equivalent
energy(dose_equivalent_index)/mass
absorbed_dose
energy(radiation)/mass
specific_heat_capacity
length^2/(time^2*thermodynamic_temperature)
area
length^2
magnetic_dipole_moment
length^2*electric_current
magnetic_polarizability
length^2*time^2*electric_current^2/mass
momentum
length*mass/time
force
length*mass/time^2
magnetic_permeability
length*mass/(time^2*electric_current^2)
thermal_conductivity
length*mass/(time^3*thermodynamic_temperature)
electric_field_strength
length*mass/(time^3*electric_current)
electric_dipole_moment
length*time*electric_current
speed
length/time
acceleration
length/time^2
jerk
length/time^3
surface_energy_density
mass/time^2
magnetic_flux_density
mass/(time^2*electric_current)
surface_power_density
mass/time^3
heat_transfer_coefficient
mass/(time^3*thermodynamic_temperature)
electric_charge
time*electric_current
molar_electric_charge
time*electric_current/amount_of_substance
luminous_flux
solid_angle*luminous_intensity
plane_angle
length/length(radius)
solid_angle
length^2/length(radius)^2
frequency
1/time
angular_speed
plane_angle/time
angular_acceleration
plane_angle/time^2
angular_jerk
plane_angle/time^3
electric_polarizability
time^4*electric_current^2/mass
heat_insulation_coefficient
time^3*thermodynamic_temperature/mass
exposure
electric_charge(radiation)/mass
linear_mass_density
mass/length
dynamic_viscosity
mass/(length*time)
pressure
mass/(length*time^2)
magnetizing_force
electric_current/length
linear_frequency
1/(length*time)
electric_displacement
time*electric_current/length^2
luminous_luminance
luminous_intensity/length^2
illuminance
solid_angle*luminous_intensity/length^2
electric_capacitance
time^4*electric_current^2/(length^2*mass)
electric_conductance
time^3*electric_current^2/(length^2*mass)
mass_density
mass/length^3
electric_permittivity
electric_current^2*time^4/(length^3*mass)
You can modify the properties of the conversion by using the convert(u, dimensions, opts) form of this command. The opts argument can contain one or more of the following equations.
base = true or false
This option specifies whether to display the dimension as a product of powers of base dimensions. For example, a joule can be converted into either the complex dimension energy or the product of base dimensions length^2*mass/time^2. By default, this option is set to false.
symbolic = true or false
This option specifies whether annotations to units should be ignored. By default, this option is set to false.
energy = true or false
If this option is set to true, all dimensions are converted to their similar form in terms of length. This is useful for studying various energy units. See Energy Conversions. By default, this option is set to false.
convert⁡ms,dimensions
convert⁡fts,dimensions,base=true
lengthtime
convert⁡cd,dimensions,base=true
luminous_intensity
convert⁡N⁢m,dimensions
convert⁡N⁢m⁡radius,dimensions
convert⁡N⁢m⁡radius,dimensions,symbolic=true
convert⁡W,dimensions,energy=true
1length2
convert⁡JT,dimensions,energy=true
length
Converting a dimension to the default unit for that dimension in the currently selected system can be done as follows:
convert⁡speed,system,dimension
ms
You can also specify a different system. This will return the default unit for the given dimension in that system.
convert⁡speed,system,FPS,dimension
fts
See Also
convert
convert,conversion_table
convert,system
Energy Conversions
Units
Units/Index
Units[AddDimension]
Units[GetDimension]
Units[GetDimensions]
Units[HasDimension]
Units[RemoveDimension]
Download Help Document