6 code.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:computational_physics_N2014301020117 作者: yukangnineteen 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号