Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/354.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 贝内特大气方程_Python_Physics - Fatal编程技术网

Python 贝内特大气方程

Python 贝内特大气方程,python,physics,Python,Physics,如何在Python中实现Bennett大气方程 方程式为: 其中,h是以度为单位的真实高度,折射R以弧分为单位您应该查看 如果cot是余切,那么这个非常简单的脚本将完成以下工作: import math def R(h): return 1.02 / math.tan( h + 10.3 / (h + 5.11) ) print R(1) 你应该详细说明你到底想要什么。当您有R时,是否要获取h?当我到达堆栈溢出时获取R!Stack Overflow不是免费的代码编写服务,请说明您的代码/

如何在Python中实现Bennett大气方程

方程式为:


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

您应该查看

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

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

你应该详细说明你到底想要什么。当您有
R
时,是否要获取
h
?当我到达堆栈溢出时获取R!Stack Overflow不是免费的代码编写服务,请说明您的代码/努力以及实际问题是什么。您基本上是在问什么是
cot
功能吗?很难看出你在这里遇到了什么困难。