pub fn period(separation: &f64, small_mass: &f64, large_mass: &f64) -> f64 {
    let period_in_years = (separation.powf(3.0) / (small_mass + large_mass)).sqrt();
    // period_in_years * planet.days_in_year
    period_in_years * DAYS_IN_A_YEAR
}
/// Separation - Units of AU between the masses returns the period of an entire xorbit in Earth days.
Units of AU between the masses returns the period of an entire xorbit in Earth days.
Units of AU between the masses returns the period of an entire xorbit in Earth days .
pub fn period(separation: &f64, small_mass: &f64, large_mass: &f64) -> f64 {
    let period_in_years = (separation.powf(3.0) / (small_mass + large_mass)).sqrt();
    // period_in_years * planet.days_in_year
    period_in_years * DAYS_IN_A_YEAR
}
pub fn period ( separation : & f64 , small_mass : & f64 , large_mass : & f64 ) -> f64 { let period_in_years = ( separation . powf ( 3.0 ) / ( small_mass + large_mass ) ) . sqrt ( ) ; // period_in_years * planet.days_in_year period_in_years * DAYS_IN_A_YEAR }
Separation - Units of AU between the masses returns the period of an entire xorbit in Earth days.
Separation - Units of AU between the masses returns the period of an entire xorbit in Earth days .
separation
&f64
small_mass
&f64
large_mass
&f64
separation
&f64
small_mass
&f64
large_mass
&f64