A simple elements class with tests. Can generate markdown tables of element properties.
Element | Hydrogen | Boron |
---|---|---|
Atomic Number | 1 | 5 |
Atomic Weight | 1.008 | 10.811 |
Boiling Point (C) | -252.9 | 3926.8 |
Boiling Point (F) | -423.2 | 7100.3 |
Density (g/cm^(3)) | 0.0 | 2.34 |
Density (lb/in^(3)) | 0.0 | 0.085 |
Discoverer | Cavendish | Gay-Lussac |
Group | 1 | 13 |
Melting Point (C) | -259.0 | 2300.0 |
Melting Point (F) | -434.2 | 4172.0 |
Symbol | H | B |
Type | Nonmetal | Metalloid |
Year of Discovery | 1766 | 1808 |