GPS is a Satellite Navigation System * GPS is funded by and controlled by the U. S. Department of Defense (DOD). While there are many thousands of civil users of GPS world-wide, the system was designed for and is operated by the U. S. military. * GPS provides specially coded satellite signals that can be processed in a GPS receiver, enabling the receiver to compute position, velocity and time. * Four GPS satellite signals are used to compute positions in three dimensions and the time offset in the receiver clock. all the info is here http://www.colorado.edu/geography/gcraft/notes/gps/gps_f.html and here Global Positioning System http://en.wikipedia.org/wiki/GPS and here http://gps.faa.gov/GPSbasics/ and here http://www.colorado.edu/geography/gcraft/notes/gps/gps.html
read the links it should show ye how to use it... i do not have time to read it to answer ye question..