@@ -5,6 +5,8 @@
``` numbat
# Compute the pH (acidity) of a solution based
# on the activity of hydrogen ions
+#
+# https://en.wikipedia.org/wiki/PH
fn pH_acidity(activity_hplus: Concentration) -> Scalar =
- log10(activity_hplus / (mol / L))
@@ -8,7 +8,6 @@
# viscosity of water and allows for inputs of pipe radius,
# pipe length, and pressure difference.
-dimension DynamicViscosity = Pressure × Time
dimension FlowRate = Volume / Time
let μ_water: DynamicViscosity = 1 mPa·s
@@ -3,7 +3,6 @@
@@ -47,5 +47,7 @@ dimension Activity = 1 / Time
dimension AbsorbedDose = Energy / Mass
dimension EquivalentDose = Energy / Mass
+dimension DynamicViscosity = Pressure × Time
+
# Other useful names
dimension Rate = 1 / Time
@@ -15,3 +15,6 @@ assert_eq(1 maxwell, 1e-8 weber)
@aliases(Oe: short)
unit oersted: MagneticFieldStrength = 1 / (4 pi) * dyne / maxwell
+@metric_prefixes
+unit poise: DynamicViscosity = 1 dyn × s / cm^2