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 /1484/CH1/EX1.12/1_12.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 '1484/CH1/EX1.12/1_12.sce')
-rwxr-xr-x | 1484/CH1/EX1.12/1_12.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1484/CH1/EX1.12/1_12.sce b/1484/CH1/EX1.12/1_12.sce new file mode 100755 index 000000000..b3bce8196 --- /dev/null +++ b/1484/CH1/EX1.12/1_12.sce @@ -0,0 +1,21 @@ +clc
+//initialisation of variables
+w= 4 //ft
+l= 4 //ft
+X= 10 //ft
+a= 45 //degrees
+W= 100 //lbs
+a1= 60 //degrees
+w1= 62.4 //lbs/ft^3
+//CALCULATIONS
+A= w*l
+X1= X+(w/2)*sind(a)
+Ig= w*l^3/12
+I0= Ig+(A*X1^2/(sind(a))^2)
+h= I0*(sind(a))^2/(A*X1)
+P= w1*A*X1
+h1= h-X
+h2= h1/sind(a)
+T= (W*(l/2)*sind(a)+P*h2)/(w*sind(a1))
+//RESULTS
+printf ('Pull in the chain= %.f lbs ',T)
|