sciforge-lib 0.0.4

Scientific computing library — mathematics, physics, chemistry, biology, astronomy, geology, meteorology.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::super::Molecule;

pub fn molecule() -> Molecule {
    Molecule {
        formula: "C38H72N2O12",
        name: "azithromycin",
        composition: &[(1, 72), (6, 38), (7, 2), (8, 12)],
        molar_mass: 748.984,
        category: "antibiotic",
        state_at_stp: "solid",
        melting_point_k: Some(386.0),
        boiling_point_k: None,
        density_g_cm3: Some(1.180),
    }
}