Skip to main content

kinetic_energy_from_total_and_potential

Function kinetic_energy_from_total_and_potential 

Source
pub fn kinetic_energy_from_total_and_potential(
    total_energy: f64,
    potential_energy: f64,
) -> Option<f64>
Expand description

Computes kinetic energy from total energy and potential energy using KE = E_total - U.