pub fn gibbs_free_energy(
    number_of_links: &u8,
    link_length: &f64,
    hinge_mass: &f64,
    potential_distance: &f64,
    potential_stiffness: &f64,
    temperature: &f64,
) -> f64
Expand description

The Gibbs free energy as a function of the applied potential distance, potential stiffness, and temperature, parameterized by the number of links, link length, and hinge mass.