csc-python-solutions/08/3 - Watch the Pendulum.py
2021-02-18 17:49:56 +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))