This library is built in the open.
If you spot an error, have a suggestion, or just want to say hello — we’d love to hear from you.

The number of elapsed days multiplied by thirteen, minus the number of years multiplied by three and the number of days; then add the result of dividing that by sixty-eight, and multiply by twenty-four; this gives the Moon’s position starting from degrees. || 6 ||
He explains the method for bringing forth the mean position of the Moon—The number of elapsed days multiplied by thirteen etc. Having set down the dyugana the total count of days elapsed since a fixed epoch, multiply it by thirteen (the "Vishvas"). Set this value down separately below it. From that lower value, subtract the dhruvabdas fixed "anchor years" used in the calculation multiplied by three, and also subtract the simple day-count. Divide the remainder by sixty-eight (the "eight-limbs"). Take the resulting degrees, and from the remainder, multiply by sixty and divide again by the same divisor to get the liptas minutes of arc. Add these degrees and minutes to the first value (the day-count multiplied by thirteen). Then multiply the result by twenty-four (the "Jinas") and add the anchor years to that same value. This becomes the Shashi the Moon expressed in degrees. Again, as before, reduce the degrees by thirty to find the signs and add the fixed constant. In the case of the "Karna" day-count, subtract the day-count from the day-count multiplied by thirteen, then add the years multiplied by three, divide by sixty-eight, and add the resulting fraction to the day-count multiplied by thirteen; then subtract those path-values from the constant and add the years multiplied by twenty-four. That becomes the Moon. || 6 ||
The Moon’s highest point in degrees is the day-count minus twice the years, divided by nine; add the years multiplied by forty, and subtract the minutes equal to one-eighth of the years. || 7 ||
Subtract twice the anchor years from the day-count and divide the remainder by nine; the result is the degrees. From the remainder, multiply by sixty and divide by nine to get the kala minutes of arc. To those degrees, add the anchor years multiplied by forty (the "sky-Vedas"). From that, subtract the minutes equal to one-eighth of the years the measure of the years...?. The result is the degrees of the Moon’s apogee. Again and again, reduce those degrees by thirty and add the constant. That becomes the Chandratunga the Moon's apogee or highest point. If twice the years is greater than the day-count: subtract the day-count from twice the years, divide by nine to get degrees and minutes, subtract those from the constant, and add the years multiplied by forty. Then subtract the minutes equal to one-eighth of the years. That is the apogee. In the case of the "Karna" day-count, add twice the years to the day-count, divide to get degrees and minutes, subtract from the constant, add the years multiplied by forty, and subtract the minutes equal to one-eighth of the years. That is the apogee. Or rather, one may calculate the Sun and Moon's apogee without the single operation of the elapsed years. || 7 ||
1. k. dviga | 2. k. ghnabdayu | 3. k. dikah sha | 4. k. sthita tri |
5. k. shtan shashtighnadastangapta li | 6. k. gatmakan cha | 7. k. nashchandro | 8.
k. cchanshan | 9. k. tah | 10. k. tad cha | 11. k. ptad cha | 12. k.
sa chandroccah syat. ka | 13. k. khavedabdhu pra | 14. k. sa chandrocco bhavati
ya | 15. k. jnanuktanyayena