pub fn gyrofrequency(
charge: f64,
magnetic_flux_density: f64,
mass: f64,
) -> Option<f64>Expand description
Computes the gyrofrequency in hertz.
Formula: f_c = ω_c / (2π)
§Examples
use use_plasma::{ELECTRON_MASS, ELEMENTARY_CHARGE, gyrofrequency};
assert!(gyrofrequency(ELEMENTARY_CHARGE, 1.0, ELECTRON_MASS).is_some_and(|value| value > 0.0));