summaryrefslogtreecommitdiff
path: root/3137/CH16/EX16.9
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.9
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.9')
-rwxr-xr-x3137/CH16/EX16.9/Ex16_9.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3137/CH16/EX16.9/Ex16_9.sce b/3137/CH16/EX16.9/Ex16_9.sce
new file mode 100755
index 000000000..44ecead82
--- /dev/null
+++ b/3137/CH16/EX16.9/Ex16_9.sce
@@ -0,0 +1,22 @@
+//Initilization of variables
+M=70 //kg
+ko=0.4 //m
+ri=0.45 //m
+ro=0.6 //m
+theta=30 //degrees
+m=35 //kg
+g= 9.8 //m/s^2
+//Calculations
+I=M*ko^2 //kg-m^2
+//Using Equations of motion
+//Solving the equations by matrix method
+A=[-1,-m*0.15,0;1,-M*ro,-1;-ri,-I,ro]
+B=[-m*g;M*g*sind(theta);0]
+C=inv(A)*B
+F=C(3) //N
+Na=M*g*cosd(theta) //N
+//Required coefficient of friction
+u=F/Na //coefficient of friction
+//Result
+clc
+printf('The value of alpha is %f rad/s^2 and Tension is %f N\n F=%f N and Na=%f N also u=%f',C(2),C(1),F,Na,u)