csc-python-solutions/8/3 - Watch the Pendulum.py
2021-02-18 10:26:10 +01:00

6 lines
138 B
Python

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))