How to normalize units?

How to normalize units? - Can't get SMath to display in units desired. - Mensajes

#1 Publicado: 9/6/2020 20:59:06
Brian729

Brian729

0 me gusta en 1 mensajes.

Grupo: User

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!

#2 Publicado: 9/6/2020 21:34:12
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Construct the project in the SI unit system.
BTW, density is what = nothing/anything.
"weight density" has meaning, in SI kg/m³
#3 Publicado: 10/6/2020 4:31:59
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Wrote

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!



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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#4 Publicado: 10/6/2020 16:34:37
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote

...
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.



Hi. This is a picture about what Martin says:

Clipboard01.jpg

Best regards.
Alvaro.
#5 Publicado: 10/6/2020 21:52:03
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

The Engineering form of Avogadro P*V=Z*n*R*T
Where 'Z' compressibility factor from source.
  • Nuevos mensajes
  • Sin mensajes nuevos