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 /1466/CH2 | |
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 '1466/CH2')
-rwxr-xr-x | 1466/CH2/EX2.1/2_1.sce | 10 | ||||
-rwxr-xr-x | 1466/CH2/EX2.2/2_2.sce | 10 | ||||
-rwxr-xr-x | 1466/CH2/EX2.3/2_3.sce | 22 | ||||
-rwxr-xr-x | 1466/CH2/EX2.4/2_4.sce | 19 | ||||
-rwxr-xr-x | 1466/CH2/EX2.5/2_5.sce | 14 | ||||
-rwxr-xr-x | 1466/CH2/EX2.6/2_6.sce | 9 |
6 files changed, 84 insertions, 0 deletions
diff --git a/1466/CH2/EX2.1/2_1.sce b/1466/CH2/EX2.1/2_1.sce new file mode 100755 index 000000000..8b0a7044f --- /dev/null +++ b/1466/CH2/EX2.1/2_1.sce @@ -0,0 +1,10 @@ +clc
+//initialisation of variables
+V= 4000 //ft^3
+W= 64 //lb
+w= 62.4 //lbf/ft^3
+//CALCULATIONS
+W1= W*V/2240
+V1= W1*2240/w
+//RESULTS
+printf (' volume of the dispalcement in fresh water = %.f ft^3',V1)
diff --git a/1466/CH2/EX2.2/2_2.sce b/1466/CH2/EX2.2/2_2.sce new file mode 100755 index 000000000..bfa8fa26d --- /dev/null +++ b/1466/CH2/EX2.2/2_2.sce @@ -0,0 +1,10 @@ +clc
+//initialisation of variables
+W= 3000 //tons
+m= 15 //tons
+x= 30 //ft
+s= 1/30
+//CALCULATIONS
+GM= m*x/(W*s)
+//RESULTS
+printf (' Manometric height = %.1f ft',GM)
diff --git a/1466/CH2/EX2.3/2_3.sce b/1466/CH2/EX2.3/2_3.sce new file mode 100755 index 000000000..90c974011 --- /dev/null +++ b/1466/CH2/EX2.3/2_3.sce @@ -0,0 +1,22 @@ +
+clc
+//initialisation of variables
+W= 1350 //tons
+m= 20 //tons
+x= 22.5 //ft
+s= 0.0875
+msw= 64 //lb
+k= 0.65
+l= 200 //ft
+b= 28 //ft
+l1= 5 //ft
+//CALCULATIONS
+GM= m*x/(s*W)
+V= W*2240/msw
+I= k*l*b^3/12
+BM= I/V
+PositionOfM= BM-l1
+PositionOfG= GM-PositionOfM
+//RESULTS
+printf ('Position of M= %.2f ft above water-line',PositionOfM+0.02)
+printf ('\n Position of G= %.2f ft below water-line',PositionOfG-0.02)
diff --git a/1466/CH2/EX2.4/2_4.sce b/1466/CH2/EX2.4/2_4.sce new file mode 100755 index 000000000..9f06f98f4 --- /dev/null +++ b/1466/CH2/EX2.4/2_4.sce @@ -0,0 +1,19 @@ +
+clc
+//initialisation of variables
+d= 6 //ft
+l= 4 //ft
+W= 2500 //lb
+Wt= 500 //lb
+cg= 1.5 //ft
+d1= 64 //lb/ft^3
+//CALCULATIONS
+w1= W+Wt
+V= w1/d1
+D= V/(%pi*(d^2/4))
+hb= D/2
+BG= (%pi*d^4)/(64*V)
+hg= BG+hb
+x= ((w1*hg)-(W*cg))/Wt
+//RESULTS
+printf (' Maximum height c.g above the bottom= %.2f ft ',x)
diff --git a/1466/CH2/EX2.5/2_5.sce b/1466/CH2/EX2.5/2_5.sce new file mode 100755 index 000000000..14fffac04 --- /dev/null +++ b/1466/CH2/EX2.5/2_5.sce @@ -0,0 +1,14 @@ +
+
+clc
+//initialisation of variables
+W= 1500 //lb-ft
+d= 5 //ft
+dw= 64 //lb/ft^3
+D= 3.4 //ft
+//CALCULATIONS
+RG= (d/2)-(D/4)-(4*d^4/(64*d^2*(D/2)))
+d1= D/2
+T= W*RG/((d/2)-RG)
+//RESULTS
+printf (' pull on the chain = %.f Lb',T+20)
diff --git a/1466/CH2/EX2.6/2_6.sce b/1466/CH2/EX2.6/2_6.sce new file mode 100755 index 000000000..7d559fea0 --- /dev/null +++ b/1466/CH2/EX2.6/2_6.sce @@ -0,0 +1,9 @@ +clc
+//initialisation of variables
+T= 20 //sec
+m= 2 //kg
+g= 32.2 //ft/sec^2
+//CALCULATIONS
+k= sqrt((T/(2*%pi))^2*2*g)
+//RESULTS
+printf (' Radius of gyration= % 2f ft',k)
|