Ruby solar calculations

Hi!

I’m trying to translate this:

http://aa.usno.navy.mil/faq/docs/SunApprox.php

into Ruby:

https://gist.github.com/1278755

But my equation of time http://en.wikipedia.org/wiki/Equation_of_time
and
declination of the sun are a bit off and I was wondering if somebody
here
could spot the error?

–Dwayne

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs