1 Pages (5 items)
How to normalize units? - Can't get SMath to display in units desired. - Messages
#1 Posted: 6/9/2020 8:59:06 PM
I have the following variables:
d (density) in gm per cm*cm*cm,
s (area) in cm*cm,
n (atoms per ml) = density*Avagadros number* Moles per gram
Units of D are gm/(cm*cm*cm)
Units of s are cm*cm
Units of n are calculated by SMATH to be gm/(m^3 kg) (ok conceptually, would like to get rid of grams per kilogram)
How do I get that to 1/(cm^3)? I've tried lots of unit operations and I'm stymied.
Similarly, I calculate t=1/(n*s), results should be in cm, but SMATH calculates (kg * cm / gm). Is there a way to get this normalized to just cm?
Thank you!
d (density) in gm per cm*cm*cm,
s (area) in cm*cm,
n (atoms per ml) = density*Avagadros number* Moles per gram
Units of D are gm/(cm*cm*cm)
Units of s are cm*cm
Units of n are calculated by SMATH to be gm/(m^3 kg) (ok conceptually, would like to get rid of grams per kilogram)
How do I get that to 1/(cm^3)? I've tried lots of unit operations and I'm stymied.
Similarly, I calculate t=1/(n*s), results should be in cm, but SMATH calculates (kg * cm / gm). Is there a way to get this normalized to just cm?
Thank you!
#2 Posted: 6/9/2020 9:34:12 PM
Construct the project in the SI unit system.
BTW, density is what = nothing/anything.
"weight density" has meaning, in SI kg/m³
BTW, density is what = nothing/anything.
"weight density" has meaning, in SI kg/m³
#3 Posted: 6/10/2020 4:31:59 AM
WroteI have the following variables:
d (density) in gm per cm*cm*cm,
s (area) in cm*cm,
n (atoms per ml) = density*Avagadros number* Moles per gram
Units of D are gm/(cm*cm*cm)
Units of s are cm*cm
Units of n are calculated by SMATH to be gm/(m^3 kg) (ok conceptually, would like to get rid of grams per kilogram)
How do I get that to 1/(cm^3)? I've tried lots of unit operations and I'm stymied.
Similarly, I calculate t=1/(n*s), results should be in cm, but SMATH calculates (kg * cm / gm). Is there a way to get this normalized to just cm?
Thank you!
Sure that gm is correct for gram? Used to be in very old SMath versions. Now it is g. It should be obvious from the dynamic assistant whether a given unit is available or not.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 6/10/2020 4:34:37 PM
#5 Posted: 6/10/2020 9:52:03 PM
The Engineering form of Avogadro P*V=Z*n*R*T
Where 'Z' compressibility factor from source.
Where 'Z' compressibility factor from source.
1 Pages (5 items)
-
New Posts
-
No New Posts