Answer to Question #157707 in Python for Andu

Question #157707

2. By studying the oscillations of a simple pendulum, the acceleration of free fall g on the surface of a planet is determined. For this purpose the formula serves: T = 2 × pi kat the square root of l / g, where T is the period of oscillations and l - the length of the pendulum. Experimental measurements performed on the Earth show that the total time for one hundred oscillations of the pendulum with length I = 1 m is t = 200 S. a) Calculate the acceleration of free fall on the surface of the Earth. b) Calculate the radius of the Earth, knowing that its mass is M = 6 × 10²⁴ kg. Dihet range = 6.67 × 10 ‐ ¹¹ Nm² / kg²


1
Expert's answer
2021-01-25T14:58:34-0500
import math


L = 1
t = 200
n = 100


M = 6E+24
GC = 6.67E-11


g = L / math.pow(t/(n*2.0*math.pi), 2)
r = math.sqrt((GC * M)/g)


print("acceleration of free fall on the surface of the Earth " + str(g) + " meters/second ^ 2")
print("radius of the Earth " + str(r) + " meters")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS