summaryrefslogtreecommitdiff
path: root/3886/CH21/EX21.9/21_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3886/CH21/EX21.9/21_9.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3886/CH21/EX21.9/21_9.sce')
-rw-r--r--3886/CH21/EX21.9/21_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3886/CH21/EX21.9/21_9.sce b/3886/CH21/EX21.9/21_9.sce
new file mode 100644
index 000000000..a7fc58991
--- /dev/null
+++ b/3886/CH21/EX21.9/21_9.sce
@@ -0,0 +1,16 @@
+//Compound pendulum
+//refer fig. 21.8
+//Length of uniform rod
+l=0.6 //m
+//Radius of uniform disc
+r=0.3 //m
+//Mass moment of inertia about centre of suspention
+Iz=((25*0.6^2)/(9.81*12))+((25*0.6^2)/(9.81*2*2))+((40*0.15^2)/(2*9.81))+((40*(0.6+0.15)^2)/(9.81)) //units
+M=((25)/(9.81))+((40)/(9.81))
+//Kzz^2=0.3992
+//Distance of centre of gravity of compound pendulum from centre of suspension
+r=(25*0.3+40*0.75)/(25+40) //m
+T=2*%pi*sqrt((0.3992)/(0.5769)) //sec
+//equivalent length
+Le=(0.3992/0.5769) //m
+printf("\T=%.3f sec\nLe=%.3f m",T,Le)