PHP Classes

Classes: Physics

Recommend this page to a friend!
  All class groups  >  Physics (21)  >  Top rated classes  

Physics

Physics related classes.


  B   D   G   M   N   P   Q   R   S  
  1 - 20   21 - 21  
  Files folder image Sun  
PHP Programming Innovation award nominee
July 2004
Number 6


Prize: One downloadable copy of PHPEd
Author: Nesa Simon David <e-mail contact>
Calculate the sunrise and sunset time of any place
This class contains methods for calculating the sunrise and sunset for any day, for any zenith (angle at which the sun is said to rise or set) and any place in the world given its latitude and longitude coordinates.

Please note that the algorithm used for the calculations are not mine. The algorithm was taken from http://williams.best.vwh.net/sunrise_sunset_algorithm.htm (without permission). There are many algorithms for calculating sunrise/sunset, but this was the simplest and explained in an easy to understand manner.

  1 - 20   21 - 21  
  B   D   G   M   N   P   Q   R   S  

Return to top of the groups' hierarchy.