8
$\begingroup$

I cannot seem to find the basic chemical property specific gravity with ChemicalData or other comparable functions.

$\endgroup$
1
  • 3
    $\begingroup$ Do chemists (and scientists in general) ever actually use specific gravity rather than density? $\endgroup$ Feb 12, 2018 at 9:01

2 Answers 2

15
$\begingroup$

Specific gravity is not on the property list of curated chemical properties, so you can't get it directly. However, here is a function that will compute it.

With[{h2oDens = ChemicalData["Water", "Density"]}, 
  specificGravity[name_String] := ChemicalData[name, "Density"]/h2oDens]

specificGravity["Ethanol"]

0.789

specificGravity["Gold"]

19.3

$\endgroup$
0
8
$\begingroup$

Another version, not that fast, but still for the record:

specificGravity[name_String]:=
    WolframAlpha["specific gravity "<>name,
    {{"SpecificGravityPod1:ChemicalData",1},"ComputableData"}]

specificGravity["gold"]

Out[]=19.3

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.