summaryrefslogtreecommitdiff
path: root/3137/CH16/EX16.24/Ex16_24.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3137/CH16/EX16.24/Ex16_24.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3137/CH16/EX16.24/Ex16_24.sce')
-rw-r--r--3137/CH16/EX16.24/Ex16_24.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3137/CH16/EX16.24/Ex16_24.sce b/3137/CH16/EX16.24/Ex16_24.sce
new file mode 100644
index 000000000..7c171a320
--- /dev/null
+++ b/3137/CH16/EX16.24/Ex16_24.sce
@@ -0,0 +1,23 @@
+//Initilization of variables
+m_abc=20 //kg
+m_cd=10 //kg
+l_abc=3 //m
+l_cd=2 //m
+x=0.75 //m
+y=1.5 //m
+theta=60 //degrees
+F=1000 //N
+g=9.8 //m/s^2
+//Simplfying constants
+a=26
+b=28.3
+c=49
+//Calculations
+//After the rigorous simplification we arrive at the following
+//Bx=26*alpha
+//By=49-28.3*alpha
+//Summing moments about A
+alpha=(m_abc*g*x+F*y+c)/((1/3)*m_abc*l_abc^2+a*tand(theta)+b) //rad/s
+//Result
+clc
+printf('The value of angular acceleration is: %frad/s^2',alpha)