引用本文: |
-
李世才,苗丽,劳薇.闰年判断的算法表达式及其应用实例[J].广西科学院学报,2010,26(4):429-432. [点击复制]
- LI Shi-cai,MIAO Li,LAO Wei.Leap Year Judgement Expression and Its Application Examples[J].Journal of Guangxi Academy of Sciences,2010,26(4):429-432. [点击复制]
|
|
摘要: |
运用天文、历法原理和数学连分数理论,通过一些数学变换得到求解闰年问题的一种不含条件判断的算法表达式,并应用算法表达式计算水能、任意2个日期的相隔天数和任意一天是星期几.结果显示,该算法表达式计算步骤简便,求解灵活快速,通用性较强. |
关键词: 算法 闰年 平年 回归年 公历 |
DOI: |
投稿时间:2010-08-28修订日期:2010-09-02 |
基金项目: |
|
Leap Year Judgement Expression and Its Application Examples |
LI Shi-cai1, MIAO Li2, LAO Wei1
|
(1.Guangxi Nanning Water Conservancy and Electric Power Designing Institute, Nanning, Guangxi, 530001, China;2.Guangxi Economic & Trade Polytechnic, Nanning, Guangxi, 530021, China) |
Abstract: |
Based on astronomy, calendar principles and mathematical theory of continued fraction, by several mathematical transformations,a method of algorithm expression without conditional judgement solved the leap year problems.Three application examples in calculating hydroenergy,the days between any two dates and the week for some days were presented.The advantages of algorithm expression includes simple calculation steps of algorithm, flexible and swift solving, great commonality,etc. |
Key words: algorithm leap year common year tropical year Gregorian calendar |