summaryrefslogtreecommitdiff
path: root/1484/CH2/EX2.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1484/CH2/EX2.10
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 '1484/CH2/EX2.10')
-rwxr-xr-x1484/CH2/EX2.10/2_10.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1484/CH2/EX2.10/2_10.sce b/1484/CH2/EX2.10/2_10.sce
new file mode 100755
index 000000000..03ac32082
--- /dev/null
+++ b/1484/CH2/EX2.10/2_10.sce
@@ -0,0 +1,20 @@
+clc
+//initialisation of variables
+l= 91 //ft
+w= 30 //ft
+h= 6 //ft
+W= 40 //tons
+a= 3 //degrees
+cg= 3 //ft
+d= 4 //ft
+W1= 60 //tons
+cg1= 1 //ft
+//CALCULATIONS
+W2= (l*w*d*64/2240)-W1
+y= (W2*(h/2)+W1*(cg+d))/(l*w*d*64/2240)
+BG= y-(d/2)
+BM= l*w^3/(12*l*w*d)
+GM= BM-BG
+dx= GM*l*w*d*64*tand(a)/(60*2240)
+//RESULTS
+printf ('maximum distance through which the load can be shifted= %.1f ft ',dx)