diff --git a/8/3 - Watch the Pendulum.py b/8/3 - Watch the Pendulum.py new file mode 100644 index 0000000..0ba48dd --- /dev/null +++ b/8/3 - Watch the Pendulum.py @@ -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))