def double_scan(self):
v_0 = 81.09589
while 0 <= v_0:
theta_0 = 7.1610
while 7.1610 <= theta_0 < 7.1620:
t = targeted_baseball(v_0, theta_0, 0.01, 10, 135)
t.calculate()
t.show()
if a < 220:
theta_0 = theta_0 + 0.0001
else:
print(a, '\n', v_0,'\n', theta_0)
break
v_0 = v_0 + 0.00001
if a >= 220:
break
6 code.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录