Message Boards Message Boards

0
|
7793 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

ElementData on v9.0.1.0

Posted 9 years ago

Dear readers,

The doc of Mma v9.0.1.0 says we can "list all standard elements" by issuing ElementData[] and that we can as well use ElementData[n] for obtaining the name of the n-th element, or ElementData["Properties"] to get a list of all element properties. None of these work out of the box.

Is that an oversight in doc or do I need some magical wand to make them work as described?

Sorry for the broad request in multiple groups.

2 Replies

Hi Bruce,

Thank you for your answer, which I now can reproduce in a new notebook. I didn't understand why this didn't work before: I enjoy a professional Internet connection 24/7. I now suspect that the issue came from pasting the line from the help file and hiiting "Numpad-Enter" too quickly before realizing that the string pasted had unexpected wrappers: RefLink[ElementData,paclet : ref/ElementData][] which, once executed, defined ElementData[] (without arguments) to be its own symbol.

Yet, trying ElementData["Carbon", "AtomicWeight"] gave the expected answer in the subsequent input of the same notebook. That got me wondering.

Sorry for the noise.

Does your computer have an internet connection? (Try Help menu - Internet Connectivity, click the Test Internet Connectivity button.)

In[1]:= ElementData[]

Out[1]= {"Hydrogen", "Helium", "Lithium", "Beryllium", "Boron", \
"Carbon", "Nitrogen", "Oxygen", "Fluorine", "Neon", "Sodium", \
"Magnesium", "Aluminum", "Silicon", "Phosphorus", "Sulfur", \
"Chlorine", "Argon", "Potassium", "Calcium", "Scandium", "Titanium", \
"Vanadium", "Chromium", "Manganese", "Iron", "Cobalt", "Nickel", \
"Copper", "Zinc", "Gallium", "Germanium", "Arsenic", "Selenium", \
"Bromine", "Krypton", "Rubidium", "Strontium", "Yttrium", \
"Zirconium", "Niobium", "Molybdenum", "Technetium", "Ruthenium", \
"Rhodium", "Palladium", "Silver", "Cadmium", "Indium", "Tin", \
"Antimony", "Tellurium", "Iodine", "Xenon", "Cesium", "Barium", \
"Lanthanum", "Cerium", "Praseodymium", "Neodymium", "Promethium", \
"Samarium", "Europium", "Gadolinium", "Terbium", "Dysprosium", \
"Holmium", "Erbium", "Thulium", "Ytterbium", "Lutetium", "Hafnium", \
"Tantalum", "Tungsten", "Rhenium", "Osmium", "Iridium", "Platinum", \
"Gold", "Mercury", "Thallium", "Lead", "Bismuth", "Polonium", \
"Astatine", "Radon", "Francium", "Radium", "Actinium", "Thorium", \
"Protactinium", "Uranium", "Neptunium", "Plutonium", "Americium", \
"Curium", "Berkelium", "Californium", "Einsteinium", "Fermium", \
"Mendelevium", "Nobelium", "Lawrencium", "Rutherfordium", "Dubnium", \
"Seaborgium", "Bohrium", "Hassium", "Meitnerium", "Darmstadtium", \
"Roentgenium", "Copernicium", "Ununtrium", "Flerovium", \
"Ununpentium", "Livermorium", "Ununseptium", "Ununoctium"}

In[2]:= $Version
Out[2]= "9.0 for Mac OS X x86 (64-bit) (January 24, 2013)"

In[3]:= ElementData[8]
Out[3]= "Oxygen"
POSTED BY: Bruce Miller
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract