unit_wt | R Documentation |
This function solves for the unit weight or specific weight of a substance using only the substance's density and gravitational acceleration.
unit_wt(rho, units = c("SI", "Eng"), Eng_units = c("slug/ft^3", "lbm/ft^3"))
rho |
numeric vector that contains the density |
units |
character vector that contains the system of units [options are
|
Eng_units |
character vector that contains the density English units
[options are |
The equation is expressed as
\\gamma = \frac{m * g}{V} = \\rho * g = \\rho * \frac{g}{gc}
unit weight or specific weight (N/m^3 or lbf/ft^3)
substance mass (kg, lbm, or slugs)
gravitational acceleration (m/s^2 or ft/sec^2)
"unit conversion factor used to convert mass to force or vice versa" (lbm-ft/lbf-sec^2)
the volume of the substance (m^3 or ft^3)
substance density (mass divided by volume) [kg/m^3, slug/ft^3", or lbm/ft^3]
the unit weight or specific weight as a numeric vector. The units are not returned.
Irucka Embry
The Engineering ToolBox, 27 March 2022, "Water - Density, Specific Weight and Thermal Expansion Coefficients", https://www.engineeringtoolbox.com/water-density-specific-weight-d_595.html
WikiEngineer, 27 March 2022, "Water Properties & Definitions", https://web.archive.org/web/20210412034245/http://www.wikiengineer.com/Water-Resources/PropertiesAndDefinitions. Retrieved thanks to the Internet Archive: Wayback Machine
Wikimedia Foundation, Inc. Wikipedia, 27 March 2022, "gc (engineering)", https://en.wikipedia.org/wiki/Gc_(engineering).
Wikimedia Foundation, Inc. Wikipedia, 27 March 2022, "Specific weight", https://en.wikipedia.org/wiki/Specific_weight.
# Examples
library(iemisc)
rho1 <- density_water(Temp = 68, units = "Eng", Eng_units = "slug/ft^3")
unit_wt(rho = rho1, units = "Eng", Eng_units = "slug/ft^3")
rho2 <- density_water(Temp = 68, units = "Eng", Eng_units = "lbm/ft^3")
unit_wt(rho = rho2, units = "Eng", Eng_units = "lbm/ft^3")
rho3 <- density_water(Temp = 20, units = "SI")
unit_wt(rho = rho3, units = "SI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.