rightAscension function

num rightAscension(
  1. num l,
  2. num b
)

Implementation

num rightAscension(num l, num b) {
  return math.atan2(
      math.sin(l) * math.cos(e) - math.tan(b) * math.sin(e), math.cos(l));
}