magnitudeSaturn function
Visual magnitude of Saturn.
b Saturnicentric latitude of Earth (radians),
deltaU difference of Saturnicentric longitudes Sun-Earth (radians).
Implementation
double magnitudeSaturn(double r, double delta, double b, double deltaU) {
final s = math.sin(b).abs();
return -8.68 + 5 * math.log(r * delta) / math.ln10 +
0.044 * toDeg(deltaU).abs() - 2.6 * s + 1.25 * s * s;
}