summaryrefslogtreecommitdiff
path: root/3137/CH16/EX16.60/Ex16_60.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.60/Ex16_60.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.60/Ex16_60.sce')
-rwxr-xr-x3137/CH16/EX16.60/Ex16_60.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3137/CH16/EX16.60/Ex16_60.sce b/3137/CH16/EX16.60/Ex16_60.sce
new file mode 100755
index 000000000..e263f5e90
--- /dev/null
+++ b/3137/CH16/EX16.60/Ex16_60.sce
@@ -0,0 +1,11 @@
+//Initilization of variables
+g=9.8 //m/s^2
+r1=0.3 //m
+m1=20 //kg
+m2=100 //kg
+r2=0.75 //m
+//Calculations
+alpha=(m1*g*r1+m2*g*r2)/(m1*r1^2+(m1/12)*0.6^2+m2*r2^2+(2/5)*m2*0.15^2) //rad/s^2
+//Result
+clc
+printf('The angular acceleration is %f rad/s^2',alpha)