Module:Ser
此模块的文档可以在Module:Ser/doc创建
local module = {}
local getArgs = require('Module:Arguments').getArgs
function module.latina()
local now = os.time()
local start = os.time({year=2021,month=9,day=13,hour=7})
local x = start-now
local ratio = math.pi + 0.0244 * (1*math.sin(math.pi*x/43200/31.1) - 0.8*math.sin(math.pi*x/43200.0) + 0.6*math.sin(x/10000.0) + (0.22+0.044*math.sin(x)) * math.sin(math.pi*(x/86400)*(x/43200)))
local res = string.format("%0.5f",ratio)
return res
end
return module