亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? deltat.c

?? c源碼
?? C
字號:
/* DeltaT = Ephemeris Time - Universal Time * * The tabulated values of deltaT, in hundredths of a second, * were taken from The Astronomical Almanac, page K8.  The program * adjusts for a value of secular tidal acceleration ndot. It is -25.8 * arcsec per century squared for JPL's DE403 ephemeris. * ELP2000 and DE200 use the value -23.8946. * * The tabulated range is 1620.0 through 2004.0.  Bessel's interpolation * formula is implemented to obtain fourth order interpolated values at * intermediate times. * Updated deltaT predictions can be obtained from this network archive: *    ftp://maia.usno.navy.mil/ser7/deltat.preds *    ftp://maia.usno.navy.mil/ser7/deltat.data * * For dates earlier than the tabulated range, the program * calculates approximate formulae of Stephenson and Morrison * or K. M. Borkowski.  These approximations have an estimated * error of 15 minutes at 1500 B.C.  They are not adjusted for small * improvements in the current estimate of ndot because the formulas * were derived from studies of ancient eclipses and other historical * information, whose interpretation depends only partly on ndot. * * A quadratic extrapolation formula, that agrees in value and slope with * current data, predicts future values of deltaT. * * Input Y is the Julian epoch expressed in Julian years.  Y can be * found from the Julian date JD by *     Y = 2000.0 + (JD - 2451545.0)/365.25. * See AA page B4. * * Output double deltat(Y) is ET-UT in seconds. * * * References: * * Stephenson, F. R., and L. V. Morrison, "Long-term changes * in the rotation of the Earth: 700 B.C. to A.D. 1980," * Philosophical Transactions of the Royal Society of London * Series A 313, 47-70 (1984) * * Borkowski, K. M., "ELP2000-85 and the Dynamical Time * - Universal Time relation," Astronomy and Astrophysics * 205, L8-L10 (1988) * Borkowski's formula is derived from eclipses going back to 2137 BC * and uses lunar position based on tidal coefficient of -23.9 arcsec/cy^2. * * Chapront-Touze, Michelle, and Jean Chapront, _Lunar Tables * and Programs from 4000 B.C. to A.D. 8000_, Willmann-Bell 1991 * Their table agrees with the one here, but the entries are * rounded to the nearest whole second. * * Stephenson, F. R., and M. A. Houlden, _Atlas of Historical * Eclipse Maps_, Cambridge U. Press (1986) */#include "kep.h"/* If the following number (read from the file aa.ini) * is nonzero, then the program will return it * and not calculate anything. */double dtgiven = 0.0;extern double dtgiven;#define DEMO 0#define TABSTART 1620#define TABEND 2011#define TABSIZ (TABEND - TABSTART + 1)/* Note, Stephenson and Morrison's table starts at the year 1630. * The Chapronts' table does not agree with the Almanac prior to 1630. * The actual accuracy decreases rapidly prior to 1780. */short dt[TABSIZ] = {/* 1620.0 thru 1659.0 */12400, 11900, 11500, 11000, 10600, 10200, 9800, 9500, 9100, 8800,8500, 8200, 7900, 7700, 7400, 7200, 7000, 6700, 6500, 6300,6200, 6000, 5800, 5700, 5500, 5400, 5300, 5100, 5000, 4900,4800, 4700, 4600, 4500, 4400, 4300, 4200, 4100, 4000, 3800,/* 1660.0 thru 1699.0 */3700, 3600, 3500, 3400, 3300, 3200, 3100, 3000, 2800, 2700,2600, 2500, 2400, 2300, 2200, 2100, 2000, 1900, 1800, 1700,1600, 1500, 1400, 1400, 1300, 1200, 1200, 1100, 1100, 1000,1000, 1000, 900, 900, 900, 900, 900, 900, 900, 900,/* 1700.0 thru 1739.0 */900, 900, 900, 900, 900, 900, 900, 900, 1000, 1000,1000, 1000, 1000, 1000, 1000, 1000, 1000, 1100, 1100, 1100,1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100,1100, 1100, 1100, 1100, 1200, 1200, 1200, 1200, 1200, 1200,/* 1740.0 thru 1779.0 */1200, 1200, 1200, 1200, 1300, 1300, 1300, 1300, 1300, 1300,1300, 1400, 1400, 1400, 1400, 1400, 1400, 1400, 1500, 1500,1500, 1500, 1500, 1500, 1500, 1600, 1600, 1600, 1600, 1600,1600, 1600, 1600, 1600, 1600, 1700, 1700, 1700, 1700, 1700,/* 1780.0 thru 1799.0 */1700, 1700, 1700, 1700, 1700, 1700, 1700, 1700, 1700, 1700,1700, 1700, 1600, 1600, 1600, 1600, 1500, 1500, 1400, 1400,/* 1800.0 thru 1819.0 */1370, 1340, 1310, 1290, 1270, 1260, 1250, 1250, 1250, 1250,1250, 1250, 1250, 1250, 1250, 1250, 1250, 1240, 1230, 1220,/* 1820.0 thru 1859.0 */1200, 1170, 1140, 1110, 1060, 1020, 960, 910, 860, 800,750, 700, 660, 630, 600, 580, 570, 560, 560, 560,570, 580, 590, 610, 620, 630, 650, 660, 680, 690,710, 720, 730, 740, 750, 760, 770, 770, 780, 780,/* 1860.0 thru 1899.0 */788, 782, 754, 697, 640, 602, 541, 410, 292, 182,161, 10, -102, -128, -269, -324, -364, -454, -471, -511,-540, -542, -520, -546, -546, -579, -563, -564, -580, -566,-587, -601, -619, -664, -644, -647, -609, -576, -466, -374,/* 1900.0 thru 1939.0 */-272, -154, -2, 124, 264, 386, 537, 614, 775, 913,1046, 1153, 1336, 1465, 1601, 1720, 1824, 1906, 2025, 2095,2116, 2225, 2241, 2303, 2349, 2362, 2386, 2449, 2434, 2408,2402, 2400, 2387, 2395, 2386, 2393, 2373, 2392, 2396, 2402,/* 1940.0 thru 1979.0 */ 2433, 2483, 2530, 2570, 2624, 2677, 2728, 2778, 2825, 2871, 2915, 2957, 2997, 3036, 3072, 3107, 3135, 3168, 3218, 3268, 3315, 3359, 3400, 3447, 3503, 3573, 3654, 3743, 3829, 3920, 4018, 4117, 4223, 4337, 4449, 4548, 4646, 4752, 4853, 4959,/* 1980.0 thru 1995.0 */ 5054, 5138, 5217, 5296, 5379, 5434, 5487, 5532, 5582, 5630, 5686, 5757, 5831, 5912, 5998, 6078,/* Extrapolated values (USNO) */                                     6163, 6230, 6297, 6360, 6480, 6580, 6700, 6800, 6900, 7000, 7100, 7200, 7300, 7400, 7500, 7600,};double deltat(Y)double Y;{double ans, p, B;int d[6];int i, iy, k;if( dtgiven != 0.0 )	return( dtgiven );if( Y > TABEND )	{#if 0/* Morrison, L. V. and F. R. Stephenson, "Sun and Planetary System" * vol 96,73 eds. W. Fricke, G. Teleki, Reidel, Dordrecht (1982) */	B = 0.01*(Y-1800.0) - 0.1;	ans = -15.0 + 32.5*B*B;	return(ans);#else/* Extrapolate forward by a second-degree curve that agrees with   the most recent data in value and slope, and vaguely fits   over the past century.  This idea communicated by Paul Muller,   who says NASA used to do something like it.  */	B = Y - TABEND;	/* slope */	p = dt[TABSIZ-1] - dt[TABSIZ-2];	/* square term */	ans = (dt[TABSIZ - 101] - (dt[TABSIZ - 1] - 100.0 * p)) * 1e-4;        ans = 0.01 * (dt[TABSIZ-1] + p * B + ans * B * B);	if( prtflg )	  printf("[extrapolated deltaT] ");	return(ans);#endif	}if( Y < TABSTART )	{	if( Y >= 948.0 )		{/* Stephenson and Morrison, stated domain is 948 to 1600: * 25.5(centuries from 1800)^2 - 1.9159(centuries from 1955)^2 */		B = 0.01*(Y - 2000.0);		ans = (23.58 * B + 100.3)*B + 101.6;		}	else		{/* Borkowski */		B = 0.01*(Y - 2000.0)  +  3.75;		ans = 35.0 * B * B  +  40.;		}	return(ans);	}/* Besselian interpolation from tabulated values. * See AA page K11. *//* Index into the table. */p = floor(Y);iy = (int) (p - TABSTART);/* Zeroth order estimate is value at start of year */ans = dt[iy];k = iy + 1;if( k >= TABSIZ )	goto done; /* No data, can't go on. *//* The fraction of tabulation interval */p = Y - p;/* First order interpolated value */ans += p*(dt[k] - dt[iy]);if( (iy-1 < 0) || (iy+2 >= TABSIZ) )	goto done; /* can't do second differences *//* Make table of first differences */k = iy - 2;for( i=0; i<5; i++ )	{	if( (k < 0) || (k+1 >= TABSIZ) )		{		d[i] = 0;		}	else		d[i] = dt[k+1] - dt[k];	k += 1;	}/* Compute second differences */for( i=0; i<4; i++ )	d[i] = d[i+1] - d[i];B = 0.25*p*(p-1.0);ans += B*(d[1] + d[2]);#if DEMOprintf( "B %.4lf, ans %.4lf\n", B, ans );#endifif( iy+2 >= TABSIZ )	goto done;/* Compute third differences */for( i=0; i<3; i++ )	d[i] = d[i+1] - d[i];B = 2.0*B/3.0;ans += (p-0.5)*B*d[1];#if DEMOprintf( "B %.4lf, ans %.4lf\n", B*(p-0.5), ans );#endifif( (iy-2 < 0) || (iy+3 > TABSIZ) )	goto done;/* Compute fourth differences */for( i=0; i<2; i++ )	d[i] = d[i+1] - d[i];B = 0.125*B*(p+1.0)*(p-2.0);ans += B*(d[0] + d[1]);#if DEMOprintf( "B %.4lf, ans %.4lf\n", B, ans );#endifdone:/* Astronomical Almanac table is corrected by adding the expression *     -0.000091 (ndot + 26)(year-1955)^2  seconds * to entries prior to 1955 (AA page K8), where ndot is the secular * tidal term in the mean motion of the Moon. * * Entries after 1955 are referred to atomic time standards and * are not affected by errors in Lunar or planetary theory. */ans *= 0.01;if( Y < 1955.0 )	{	B = (Y - 1955.0);#if (DE400 | DE403 | DE404 | DLIB403 | DE405 | DE406)	ans += -0.000091 * (-25.8 + 26.0) * B * B;#else	ans += -0.000091 * (-23.8946 + 26.0) * B * B;#endif	}return( ans );}/* Routine to fill in time values for TDT and UT. * These and the input date, JD are global variables. * jdflag is set up on reading the initialization file aa.ini. */int update(){double T;/* Convert Julian date to Julian years re J2000.0. */T = 2000.0 + (JD - J2000)/365.25;switch( jdflag )	{	case 0:		TDT = JD;		UT = JD;		break;	case 1:		TDT = JD;		UT = TDT - deltat(T)/86400.0;		jtocal(UT); /* display the other date */		break;	case 2:		UT = JD;		TDT = UT + deltat(T)/86400.0;		jtocal(TDT);		break;	}jtocal(JD);return(0);}/* Exercise program. */#if DEMOmain(){char s[20];double ans, y;loop:printf( "year ? " );gets(s);sscanf( s, "%lf", &y );ans = deltat(y);printf( "%.4lf\n", ans );goto loop;}#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久99精品国产.久久久久久 | 亚洲一区二区三区四区中文字幕| 亚洲人快播电影网| 日本中文一区二区三区| www.日韩av| 精品成人私密视频| 亚洲风情在线资源站| 成人免费毛片高清视频| 精品女同一区二区| 三级影片在线观看欧美日韩一区二区| 国产黄色精品网站| 欧美zozo另类异族| 日韩av中文字幕一区二区三区| 色婷婷综合在线| 久久九九国产精品| 久久精工是国产品牌吗| 在线中文字幕一区二区| 精品国产乱码久久久久久免费| 亚洲日本丝袜连裤袜办公室| 国产在线看一区| 欧美一级欧美一级在线播放| 五月天婷婷综合| 91浏览器入口在线观看| 国产精品二三区| 成人永久aaa| 中文字幕精品一区| 高清在线成人网| 亚洲国产精品激情在线观看 | √…a在线天堂一区| 国产成人精品影视| 亚洲国产精品成人综合| 高清免费成人av| 中国色在线观看另类| 成人av动漫在线| 中文字幕人成不卡一区| 中文字幕亚洲区| 麻豆精品久久精品色综合| 欧美一区二区视频在线观看2020| 亚洲午夜精品在线| 欧美日韩成人在线一区| 日本欧美一区二区三区| 欧美xxxxx牲另类人与| 精品一区二区三区久久久| 久久看人人爽人人| 成人一道本在线| 亚洲精品五月天| 欧美色网站导航| 蜜臀久久久久久久| 26uuu精品一区二区| 国产成人av网站| 亚洲欧美日韩精品久久久久| 精品视频一区 二区 三区| 日本少妇一区二区| 国产无一区二区| 色哟哟国产精品| 日本va欧美va欧美va精品| 欧美极品xxx| 欧美亚洲日本一区| 国内不卡的二区三区中文字幕| 久久久不卡网国产精品二区| 91香蕉视频在线| 免费看日韩精品| 中文字幕的久久| 欧美日韩视频在线观看一区二区三区| 蜜臀av国产精品久久久久| 国产欧美精品区一区二区三区 | 555夜色666亚洲国产免| 激情欧美一区二区三区在线观看| 国产精品女上位| 欧美日产国产精品| 国产成人免费视频网站高清观看视频| 亚洲欧美一区二区三区久本道91| 91精品国产一区二区三区香蕉| 国产成人免费网站| 天堂影院一区二区| 国产欧美日韩另类一区| 欧美日韩国产电影| 不卡的av网站| 久久精品噜噜噜成人88aⅴ| 亚洲乱码中文字幕综合| 久久伊人蜜桃av一区二区| 欧美影片第一页| 成人一区二区三区在线观看| 天使萌一区二区三区免费观看| 欧美激情中文不卡| 日韩女优电影在线观看| 欧美午夜一区二区三区免费大片| 国产成人精品综合在线观看| 久久国产欧美日韩精品| 亚洲午夜电影网| 亚洲欧洲成人精品av97| 久久网站热最新地址| 91精品国产综合久久久蜜臀粉嫩 | 欧美一区二区在线播放| 99久久99久久免费精品蜜臀| 国内精品国产三级国产a久久| 午夜国产不卡在线观看视频| 亚洲免费毛片网站| 中文字幕在线一区二区三区| 久久久蜜桃精品| 亚洲精品在线观看视频| 欧美一区二区三区爱爱| 欧美性大战久久| 欧美伊人久久久久久久久影院| 99久久99久久久精品齐齐| 成人午夜av电影| 成人国产在线观看| 丁香五精品蜜臀久久久久99网站| 国产综合色在线视频区| 精品一区二区三区欧美| 麻豆一区二区99久久久久| 奇米影视7777精品一区二区| 亚洲成a天堂v人片| 丝袜美腿亚洲一区二区图片| 午夜av电影一区| 日韩精品三区四区| 日本不卡在线视频| 欧美aaaaaa午夜精品| 麻豆精品视频在线观看免费| 老司机一区二区| 国产精品99久| 97精品国产露脸对白| 91首页免费视频| 欧美三级中文字幕| 欧美精品色综合| 精品国产青草久久久久福利| 久久久av毛片精品| 国产日本欧美一区二区| 亚洲天堂a在线| 亚洲成人动漫在线观看| 蜜臂av日日欢夜夜爽一区| 狠狠色综合日日| 成人h精品动漫一区二区三区| 91在线精品一区二区| 精品污污网站免费看| 日韩亚洲欧美中文三级| 国产欧美1区2区3区| 亚洲摸摸操操av| 日韩av一区二区在线影视| 国产一区二区主播在线| 97超碰欧美中文字幕| 欧美久久一区二区| 久久久久国产精品麻豆| 亚洲欧美日韩国产中文在线| 日韩国产一二三区| 大胆亚洲人体视频| 欧美日韩在线不卡| 久久蜜桃一区二区| 亚洲欧美经典视频| 久久国产精品99精品国产| 99精品视频一区二区三区| 欧美美女一区二区三区| 国产欧美精品一区二区色综合| 亚洲精品写真福利| 国产毛片精品视频| 欧美日韩精品专区| 亚洲国产精品高清| 日本少妇一区二区| 91片黄在线观看| 久久久亚洲精品石原莉奈| 亚洲一区二区三区三| 国产精品一卡二| 91麻豆精品国产91久久久 | 久久精品视频一区| 亚洲一区二区综合| 国产精品系列在线播放| 91精品国产欧美日韩| 亚洲日本一区二区| 国产成人免费视频网站高清观看视频| 欧美日韩国产成人在线免费| 一区视频在线播放| 国产一区二区三区日韩| 欧美精品一级二级| 亚洲欧美另类小说| 99视频精品在线| 久久精品在线观看| 麻豆精品视频在线观看| 欧美丰满美乳xxx高潮www| 亚洲情趣在线观看| 99久久综合国产精品| 久久综合色8888| 久久er99热精品一区二区| 欧美日韩国产综合一区二区三区| 国产精品久久久久aaaa樱花| 国产精品99久久久久久宅男| 日韩欧美不卡一区| 喷水一区二区三区| 911国产精品| 午夜不卡av在线| 欧美日韩精品欧美日韩精品| 亚洲与欧洲av电影| 在线观看一区二区精品视频| 亚洲欧洲日韩在线| 97se狠狠狠综合亚洲狠狠| 国产日本欧美一区二区| 丰满白嫩尤物一区二区| 国产欧美一区二区三区沐欲| 国产精品中文字幕日韩精品| 久久久青草青青国产亚洲免观| 国产乱码精品一区二区三|