班尼特大气方程

2024-05-21 03:25:44 发布

您现在位置:Python中文网/ 问答频道 /正文

如何在Python中实现Bennett大气方程?你知道吗

公式为:

enter image description here

其中h是以度为单位的真实高度,折射R以弧分为单位


Tags: 高度单位公式方程大气bennett
1条回答
网友
1楼 · 发布于 2024-05-21 03:25:44

你应该看看mathematical functions in Python。你知道吗

如果cot是余切,那么这个非常简单的脚本将完成以下工作:

import math
def R(h):
  return 1.02 / math.tan( h + 10.3 / (h + 5.11) )
print R(1)

相关问题 更多 >