... 擺長 theta0 = radians(30)# 起始擺角, 用radians 將單位換成rad theta = theta0 # 擺角 g = 9.8 # 重力加速度 T = 2*pi*sqrt(L/g) # 單擺週期 ...
確定! 回上一頁