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