summaryrefslogtreecommitdiff
path: root/3845/CH16/EX16.5/Ex16_5.sce
blob: 7af8cbcbfd5680c431c187cbf33e7bcb42b027f4 (plain)
1
2
3
4
5
6
7
8
//Example 16.5
L=75*10^-2;//Length (m)
T=1.7357;//Time period (s)
//Assuming angle of deflection is less than 15 degrees
g=4*%pi^2*L/T^2;//Acceleration due to gravity (m/s^2)
printf('Acceleration due to gravity = %0.4f m/s^2',g)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest