Create 3 - Watch the Pendulum.py

This commit is contained in:
Lukas Baumann 2021-02-18 10:26:10 +01:00 committed by GitHub
parent 37f1efca4d
commit c9cad65d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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