計算物理 | 拋物線運動的數值模擬01

利用差分方法,模擬計算拋物運動: 二階的差分計算較爲繁瑣,爲了簡化計算,通常可以拆分爲兩個一階微分方程再轉化爲差分運算: 利用Euler Method: #this program is to solve the projectile motion problem #inital import math as M def initialx(array):#便於初始化 i=0 whi
相關文章
相關標籤/搜索