7
$\begingroup$

When I try to get info on acetic acid with the ChemicalData function there are only "aceticAcid$l^{1}oxidanylEster" and "aceticAcid;dioxouranium", no acetic acid. I must be missing something?

$\endgroup$
  • $\begingroup$ Hi, I generalized the title a bit. This might keep it from being closed as "easily found" or some such reason. It's also more likely to be helpful to others with similar problems. $\endgroup$ – Michael E2 Dec 8 '15 at 19:22
6
$\begingroup$

Alternative way to find the "StandardName":

Use Ctrl-= and type the common name:

enter image description here

Hit Return:

Mathematica graphics

Click the check-mark and ask ChemicalData for the "StandardName", which will return the name identifying the chemical in the database:

Mathematica graphics

Or you can just query ChemicalData using the entity:

Mathematica graphics


Another alternative, remembering that Mathematica likes Capitals:

ChemicalData["Acetic*"]

Mathematica graphics

$\endgroup$
4
$\begingroup$

You can also ask the Interpreter

Interpreter["Chemical"]["aceticacid"]["StandardName"]

"AceticAcid"

Or

Interpreter["Chemical"]["aceticacid"]["AlternateNames"]

{"acetic acid, glacial", "ethanoic acid", "ethylic acid", "glacial acetic acid", "methanecarboxylic acid", "vinegar acid"}

"StandardName" and "AlternateNames" are just two of the many "Properties" of entity "Chemical". To see all of them:

Entity["Chemical"]["Properties"]

enter image description here

$\endgroup$
3
$\begingroup$

It's because you have to search with "AceticAcid" not "acetic acid".

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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