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.2 | |
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.2')
-rwxr-xr-x | 3137/CH16/EX16.2/Ex16_2.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3137/CH16/EX16.2/Ex16_2.sce b/3137/CH16/EX16.2/Ex16_2.sce new file mode 100755 index 000000000..28b55ddbf --- /dev/null +++ b/3137/CH16/EX16.2/Ex16_2.sce @@ -0,0 +1,17 @@ +//Intilization of variables
+W=600 //lb
+d=30 //in
+theta=25 //degrees
+g=32.2 //ft/s^2
+//Calculations
+m=W/g //lb-s^2/ft
+//Moment of inertia
+I=0.5*m*((d/2)/12)^2 //lb-s^2-ft
+//Applying Newtons law and coservation of angular momentum and rolling
+//Solving by matrix method
+A=[1,m,0,0;0,0,0,1;((d/2)/12),0,-I,0;0,1,-((d/2)/12),0]
+B=[W*sind(theta);W*cosd(theta);0;0]
+C=inv(A)*B
+//Result
+clc
+printf('The Frictional Force is %f lb and the acceleration is %f ft/s^2',C(1),C(2))
|