引用本文
  • 李世才,苗丽,劳薇.闰年判断的算法表达式及其应用实例[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.   [点击复制]
【打印本页】 【在线阅读全文】【下载PDF全文】 查看/发表评论下载PDF阅读器关闭

←前一篇|后一篇→

过刊浏览    高级检索

本文已被:浏览 332次   下载 414 本文二维码信息
码上扫一扫!
闰年判断的算法表达式及其应用实例
李世才1, 苗丽2, 劳薇1
0
(1.广西南宁水利电力设计院, 广西南宁 530001;2.广西经贸职业技术学院, 广西南宁 530021)
摘要:
运用天文、历法原理和数学连分数理论,通过一些数学变换得到求解闰年问题的一种不含条件判断的算法表达式,并应用算法表达式计算水能、任意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

用微信扫一扫

用微信扫一扫