Period of a Pendulum The period of an oscillating pendulum T (in seconds) is giv
ID: 3850053 • Letter: P
Question
Explanation / Answer
! This program calculate the Period of the pendulum of length L in meter
program pendulum
REAL L,T,PI,G
PI = 3.1415
G = 9.81 !accelaration due to gravity 9.81 m/s2
PRINT *, "Enter the lenght of pendulum in meters"
READ(*,*) L
PRINT *," you have entered lenght of pendulum in meters is ", L
P=2*PI*SQRT( L/G )
PRINT *,"Period of the oscillating pendulum is = ", P
end program pendulum
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.