diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3137/CH16/EX16.49/Ex16_49.sce | |
download | Scilab-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.49/Ex16_49.sce')
-rwxr-xr-x | 3137/CH16/EX16.49/Ex16_49.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3137/CH16/EX16.49/Ex16_49.sce b/3137/CH16/EX16.49/Ex16_49.sce new file mode 100755 index 000000000..df018a29c --- /dev/null +++ b/3137/CH16/EX16.49/Ex16_49.sce @@ -0,0 +1,18 @@ +//Initilization of variables
+m=100 //kg
+mr=20 //kg
+w=8 //rad/s
+l1=300 //mm
+l2=600 //mm
+g=9.8 //m/s^2
+//Calculations
+r_bar=(mr*l1+m*750)/120 //mm
+I=(1/3)*mr*(l2/1000)^2+(2/5)*m*(l1/2000)^2+m*(0.75)^2 //kg.m^2
+alpha=(m+mr)*g*(r_bar/1000)/I //rad/s^2
+On=(m+mr)*(r_bar/1000)*w^2 //N
+Ot=((m+mr)*(r_bar/1000)*alpha)-(m+mr)*g //N
+//Result
+clc
+printf('The angular acceleration is %f rad/s^2 and On=%f N and Ot=%f N',alpha,On,Ot)
+//Due to decimal accuracy there is discrepancy in answers with the textbook
+
|