Elemental – ZX Spectrum 2025 edition

A program for calculating elemental composition from a chemical formula by Massimiliano Arca

 

A scientific program by Massimiliano Arca – Cagliari (Italy)

An older version Elemental, programmed  in Pascalated Boriel Basic, was submitted to the Pascalated Basic Contest 2024.

Elemental Analysis (EA) is a common
microanalysis used to investigate the percentage (%) composition of an
analyte in terms of its main elements, typically carbon (C), hydrogen
(H), nitrogen (N), and sulfur (S). For example, the formula of glucose
is C6H12O6, corresponding C% = 40.0%, H% = 6.7%. This means that in 100 g
of sugar, 40 g are due to the carbon content, 6.7 g to the hydrogen
content and 53.3 g (the difference to 100 g) to the oxygen content.

It is possible to determine the EA of a chemical
compound experimentally: in order to investigate its chemical nature,
the experimental values can be compared with those calculated from the
formula. From the formula, in turn, it is possible to calculate the
molecular mass (MM, i.e. the mass of one mole of the compound). 

Download, here

Source: https://massimiliano-arca.itch.io/elemental 

Author: vadmin