/// The Equation of Time based on the day of year (can have decimals)
///
/// n should be in solar time, but this variable does not change daily so
/// it probably does not matter... let's just treat it as Float
The Equation of Time based on the day of year (can have decimals)
n should be in solar time, but this variable does not change daily so
it probably does not matter... let's just treat it as Float
The Equation of Time based on the day of year ( can have decimals ) n should be in solar time but this variable does not change daily so it probably does not matter ... let ' s just treat it as Float
pub fn equation_of_time(&self, n: Float) -> Float {
        let b = self.b(n);
        229.2
            * (0.000075 + 0.001868 * b.cos()
                - 0.032077 * b.sin()
                - 0.014615 * (2.0 * b).cos()
                - 0.04089 * (2.0 * b).sin())
    }
pub fn equation_of_time ( & self , n : Float ) -> Float { let b = self . b ( n ) ; 229.2 * ( 0.000075 + 0.001868 * b . cos ( ) - 0.032077 * b . sin ( ) - 0.014615 * ( 2.0 * b ) . cos ( ) - 0.04089 * ( 2.0 * b ) . sin ( ) ) }
The Equation of Time based on the day of year (can have decimals)
n should be in solar time, but this variable does not change daily so
it probably does not matter... let's just treat it as Float
The Equation of Time based on the day of year ( can have decimals ) n should be in solar time but this variable does not change daily so it probably does not matter ... let ' s just treat it as Float
&self
n
Float