下面介绍如何使用mathematica计算月食时间(月相)的详细方法。
工具/原料
Mathematica11
方法/步骤
1
计算本地区现时开始的下一个月食时间:在mathematica命令行中,输入LunarEclipse[],然后按Enter+Shift,得到所要的结果
2
计算过去的2010年1月1日后的第一个月食时间:在mathematica命令行中,输入LunarEclipse[DateObject[{2010, 1,1, 0, 0}]],然后按Enter+Shift,得到所要的结果
3
计算过去的2011年1月1日后的第一个月食时间:在mathematica命令行中,输入LunarEclipse[DateObject[{2011, 1,1, 0, 0}]],然后按Enter+Shift,得到所要的结果
4
计算未来的2019年1月1日后的第一个月食时间:在mathematica命令行中,输入LunarEclipse[DateObject[{2019, 1,1, 0, 0}]],然后按Enter+Shift,得到所要的结果
5
计算未来的2020年1月1日后的第一个月食时间:在mathematica命令行中,输入LunarEclipse[DateObject[{2020, 1, 1, 0, 0}]],然后按Enter+Shift,得到所要的结果
6
计算未来2021年1月1日后的第一个月食时间:在mathematica命令行中,输入LunarEclipse[DateObject[{2021, 1, 1, 0, 0}]],然后按Enter+Shift,得到所要的结果
上一篇:什么时间怀孕好呢?
下一篇:引起精神分裂症的原因