Changeset 2586 in ntrip
- Timestamp:
- Aug 29, 2010, 8:08:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnctides.cpp
r2581 r2586 1 1 2 2 #include <cmath> 3 #include <iostream>4 #include <iomanip>5 3 6 4 #include "bnctides.h" … … 113 111 114 112 double M = 2.0*M_PI * Frac ( 0.9931267 + 99.9973583*T); 115 double L = 2.0*M_PI * Frac ( 0.7859444 + M/2.0 *M_PI +113 double L = 2.0*M_PI * Frac ( 0.7859444 + M/2.0/M_PI + 116 114 (6892.0*sin(M)+72.0*sin(2.0*M)) / 1296.0e3); 117 115 double r = 149.619e9 - 2.499e9*cos(M) - 0.021e9*cos(2*M);
Note:
See TracChangeset
for help on using the changeset viewer.