Q:

Create a data structure to store information about the elements in the periodic table of elements. For every element, store the name, atomic number, chemical symbol, class, atomic weight, and a sevenelement vector for the number of electrons in each shell

0

Create a data structure to store information about the elements in 

the periodic table of elements. For every element, store the name, 

atomic number, chemical symbol, class, atomic weight, and a sevenelement vector for the number of electrons in each shell. Create a 

structure variable to store the information, for example for lithium:

Lithium 3 Li alkali_metal 6.94 2 1 0 0 0 0 0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

>> element = struct('name','Lithium','atomicNumber',3,...

'chemicalSymbol','Li','class','alkali_metal',...

'atomicWeight',6.94, 'electrons',[2 1 0 0 0 0 0])

element = 

 name: 'Lithium'

 atomicNumber: 3

 chemicalSymbol: 'Li'

 class: 'alkali_metal'

 atomicWeight: 6.9400

 electrons: [2 1 0 0 0 0 0]

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now