Create 3 - Watch the Pendulum.py
This commit is contained in:
parent
37f1efca4d
commit
c9cad65d1a
5
8/3 - Watch the Pendulum.py
Normal file
5
8/3 - Watch the Pendulum.py
Normal file
@ -0,0 +1,5 @@
|
||||
from math import cos
|
||||
L = float(input())
|
||||
A = float(input())
|
||||
for T in range(10):
|
||||
print( L * cos(A * cos(T * (9.8/L)**0.5)) - L * cos(A))
|
Loading…
Reference in New Issue
Block a user