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 /24/CH9 | |
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 '24/CH9')
-rwxr-xr-x | 24/CH9/EX9.1/Example9_1.sce | 15 | ||||
-rwxr-xr-x | 24/CH9/EX9.1/Example9_1_figure.jpg | bin | 0 -> 26300 bytes | |||
-rwxr-xr-x | 24/CH9/EX9.1/Example9_1_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH9/EX9.2/Example9_2.sce | 11 | ||||
-rwxr-xr-x | 24/CH9/EX9.2/Example9_2_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH9/EX9.3/Example9_3.sce | 14 | ||||
-rwxr-xr-x | 24/CH9/EX9.3/Example9_3_result.txt | 3 | ||||
-rwxr-xr-x | 24/CH9/EX9.4/Example9_4.sce | 11 | ||||
-rwxr-xr-x | 24/CH9/EX9.4/Example9_4_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH9/EX9.5/Example9_5.sce | 13 | ||||
-rwxr-xr-x | 24/CH9/EX9.5/Example9_5_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH9/EX9.6/Example9_6.sce | 15 | ||||
-rwxr-xr-x | 24/CH9/EX9.6/Example9_6_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH9/EX9.7/Example9_7.sce | 14 | ||||
-rwxr-xr-x | 24/CH9/EX9.7/Example9_7_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH9/EX9.8/Example9_8.sce | 20 | ||||
-rwxr-xr-x | 24/CH9/EX9.8/Example9_8_result.txt | 8 | ||||
-rwxr-xr-x | 24/CH9/EX9.9/Example9_9.sce | 12 | ||||
-rwxr-xr-x | 24/CH9/EX9.9/Example9_9_result.txt | 2 |
19 files changed, 150 insertions, 0 deletions
diff --git a/24/CH9/EX9.1/Example9_1.sce b/24/CH9/EX9.1/Example9_1.sce new file mode 100755 index 000000000..1f2af4042 --- /dev/null +++ b/24/CH9/EX9.1/Example9_1.sce @@ -0,0 +1,15 @@ +exec("degree_rad.sci",-1)
+
+//Given that
+m1 = 1.2 //in kg
+m2 = 2.5 //in kg
+m3 = 3.4 //in kg
+a = 140 //in cm
+
+//Sample Problem 9-1
+printf("**Sample Problem 9-1**\n")
+r1 = [0, 0]
+r2 = [a, 0]
+r3 = [a*cos(dtor(60)), a*sin(dtor(60))]
+Rc = (m1*r1 + m2*r2 + m3*r3)/(m1 + m2 + m3)
+printf("The co-ordinate of center of mass are (%f, %f)", Rc(1), Rc(2))
\ No newline at end of file diff --git a/24/CH9/EX9.1/Example9_1_figure.jpg b/24/CH9/EX9.1/Example9_1_figure.jpg Binary files differnew file mode 100755 index 000000000..0715bf7bc --- /dev/null +++ b/24/CH9/EX9.1/Example9_1_figure.jpg diff --git a/24/CH9/EX9.1/Example9_1_result.txt b/24/CH9/EX9.1/Example9_1_result.txt new file mode 100755 index 000000000..8778f9f9b --- /dev/null +++ b/24/CH9/EX9.1/Example9_1_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 9-1**
+The co-ordinate of center of mass are (82.816901, 58.060295)
\ No newline at end of file diff --git a/24/CH9/EX9.2/Example9_2.sce b/24/CH9/EX9.2/Example9_2.sce new file mode 100755 index 000000000..79d7e13c6 --- /dev/null +++ b/24/CH9/EX9.2/Example9_2.sce @@ -0,0 +1,11 @@ +//Sample Problem 9-2
+printf("**Sample Problem 9-2**\n")
+R = poly(0, 'R')
+//Mass is proportinal to area
+Aw = %pi* (2*R)^2
+Ac = %pi* R^2
+//& the x-co-ordinate of the masses
+CMw = 0
+CMc = -R
+CMf = pdiv((Aw*CMw - Ac*CMc), (Aw - Ac))
+printf("The CM is located at a distace of %fR to the right of the center", horner(CMf, 1))
\ No newline at end of file diff --git a/24/CH9/EX9.2/Example9_2_result.txt b/24/CH9/EX9.2/Example9_2_result.txt new file mode 100755 index 000000000..fb4266557 --- /dev/null +++ b/24/CH9/EX9.2/Example9_2_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 9-2**
+The CM is located at a distace of 0.333333R to the right of the center
\ No newline at end of file diff --git a/24/CH9/EX9.3/Example9_3.sce b/24/CH9/EX9.3/Example9_3.sce new file mode 100755 index 000000000..752928ae9 --- /dev/null +++ b/24/CH9/EX9.3/Example9_3.sce @@ -0,0 +1,14 @@ +exec("degree_rad.sci",-1)
+
+//Given that
+m1 = 4 //in kg
+m2 = 8 //in kg
+m3 = 4 //in kg
+F1 = [-6, 0]
+F2 = [12*cos(dtor(45)), 12*sin(dtor(45))]
+F3 = [14, 0]
+
+//Sample Problem 9-3
+printf("**Sample Problem 9-3**\n")
+aC = (F1 + F2 + F3)/(m1 + m2+ m3)
+printf("The acceleration of center of mass is %fm/s^2 at \nan angle of %f degrees to the positive x-axis", norm(aC), rtod(atan(aC(2)/aC(1))))
\ No newline at end of file diff --git a/24/CH9/EX9.3/Example9_3_result.txt b/24/CH9/EX9.3/Example9_3_result.txt new file mode 100755 index 000000000..573ff789b --- /dev/null +++ b/24/CH9/EX9.3/Example9_3_result.txt @@ -0,0 +1,3 @@ +**Sample Problem 9-3**
+The acceleration of center of mass is 1.158805m/s^2 at
+an angle of 27.235724 degrees to the positive x-axis
\ No newline at end of file diff --git a/24/CH9/EX9.4/Example9_4.sce b/24/CH9/EX9.4/Example9_4.sce new file mode 100755 index 000000000..a8db4e84d --- /dev/null +++ b/24/CH9/EX9.4/Example9_4.sce @@ -0,0 +1,11 @@ +exec("degree_rad.sci",-1)
+
+//Given that
+m = 2.0 //in kg
+v1 = [0, -0.50]
+v2 = [0.40, 0]
+
+//Sample Problem 9-4
+printf("**Sample Problem 9-4**\n")
+deltaP = m* (v2 - v1)
+printf("The change in mometum vactor in kg.m/sec is %1.1fi + %1.1fj", deltaP(1), deltaP(2))
\ No newline at end of file diff --git a/24/CH9/EX9.4/Example9_4_result.txt b/24/CH9/EX9.4/Example9_4_result.txt new file mode 100755 index 000000000..f09a76469 --- /dev/null +++ b/24/CH9/EX9.4/Example9_4_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 9-4**
+The change in mometum vactor in kg.m/sec is 0.8i + 1.0j
\ No newline at end of file diff --git a/24/CH9/EX9.5/Example9_5.sce b/24/CH9/EX9.5/Example9_5.sce new file mode 100755 index 000000000..9861ad72c --- /dev/null +++ b/24/CH9/EX9.5/Example9_5.sce @@ -0,0 +1,13 @@ +//Given that
+//Before collision
+m = 6 //in kg
+v = 4 //in m/sec
+//After collision
+m1 = 2 //in kg
+
+//Sample Problem 9-5
+printf("**Sample Problem 9-5**\n")
+m2 = m - m1
+v1 = 8.0 //in m/s
+v2 = (m*v - m1*v1)/m2
+printf("The velocity of peiece having mass m2 is %dm/s", v2)
\ No newline at end of file diff --git a/24/CH9/EX9.5/Example9_5_result.txt b/24/CH9/EX9.5/Example9_5_result.txt new file mode 100755 index 000000000..ccf8d809b --- /dev/null +++ b/24/CH9/EX9.5/Example9_5_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 9-5**
+The velocity of peiece having mass m2 is 2m/s
\ No newline at end of file diff --git a/24/CH9/EX9.6/Example9_6.sce b/24/CH9/EX9.6/Example9_6.sce new file mode 100755 index 000000000..ae37b0b79 --- /dev/null +++ b/24/CH9/EX9.6/Example9_6.sce @@ -0,0 +1,15 @@ +//Given that
+M = 1 //(say)to get the answer directly
+Vi = 2100 //in km/h
+//initial momentum
+Pi = M* Vi
+Vrel = 500 //in km/h
+
+//Sample Problem 9-6
+printf("**Sample Problem 9-6**\n")
+//Assuming Vf as the final velocity of the hauler
+Vf = poly(0, 'Vf')
+Pf = 0.20*M*(Vf - Vrel) + (M - 0.20*M)*Vf
+p = Pi - Pf
+Vf = roots(p)
+printf("The final velocity of the hauler is %dkm/h", Vf)
\ No newline at end of file diff --git a/24/CH9/EX9.6/Example9_6_result.txt b/24/CH9/EX9.6/Example9_6_result.txt new file mode 100755 index 000000000..099d15ff7 --- /dev/null +++ b/24/CH9/EX9.6/Example9_6_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 9-6**
+The final velocity of the hauler is 2200km/h
\ No newline at end of file diff --git a/24/CH9/EX9.7/Example9_7.sce b/24/CH9/EX9.7/Example9_7.sce new file mode 100755 index 000000000..6b0170ab7 --- /dev/null +++ b/24/CH9/EX9.7/Example9_7.sce @@ -0,0 +1,14 @@ +exec("degree_rad.sci",-1)
+
+//Given that
+M = 1 //(say) to directly get the answer
+Mc = 0.30*M
+Vc = [5*cos(dtor(40)), 5*sin(dtor(40))]
+Mb = 0.20*M
+Ma = 0.50*M
+
+//Sample Problem 9-7
+printf("**Sample Problem 9-7**\n")
+deff('[f] = eq_maker(V)', 'f = Ma*V(1)*[cos(dtor(140)),sin(dtor(140))] + Mb*V(2)*[0,-1] + Mc*Vc')
+V= fsolve([0,0], eq_maker)
+printf("The velocity of A is %dm/s & velocity of B is %fm/s after the collision in the given directions", V(1), V(2))
\ No newline at end of file diff --git a/24/CH9/EX9.7/Example9_7_result.txt b/24/CH9/EX9.7/Example9_7_result.txt new file mode 100755 index 000000000..f3b7da574 --- /dev/null +++ b/24/CH9/EX9.7/Example9_7_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 9-7**
+The velocity of A is 3m/s & velocity of B is 9.641814m/s after the collision in the given directions
\ No newline at end of file diff --git a/24/CH9/EX9.8/Example9_8.sce b/24/CH9/EX9.8/Example9_8.sce new file mode 100755 index 000000000..f33b3fc76 --- /dev/null +++ b/24/CH9/EX9.8/Example9_8.sce @@ -0,0 +1,20 @@ +//Given that
+Mi = 850 //in kg
+R = 2.3 //kg/s
+Vrel = 2800 //in kg
+
+//Sample Problem 9-8a
+printf("**Sample Problem 9-8a**\n")
+T = R*Vrel
+printf("The Thrust force rocket engine provide is equal to %dN\n", T)
+
+//Sample Problem 9-8b
+printf("\n**Sample Problem 9-8b**\n")
+a = T/Mi
+printf("The initial acceleration of rocket is %fm/s^2\n", a)
+
+//Sample Problem 9-8c
+printf("\n**Sample Problem 9-8c**\n")
+Mf = 180 //in kg
+Vf = Vrel * log(Mi/Mf)
+printf("The final velocity of the rocket is %fm/s", Vf)
\ No newline at end of file diff --git a/24/CH9/EX9.8/Example9_8_result.txt b/24/CH9/EX9.8/Example9_8_result.txt new file mode 100755 index 000000000..82be9570d --- /dev/null +++ b/24/CH9/EX9.8/Example9_8_result.txt @@ -0,0 +1,8 @@ +**Sample Problem 9-8a**
+The Thrust force rocket engine provide is equal to 6439N
+
+**Sample Problem 9-8b**
+The initial acceleration of rocket is 7.576471m/s^2
+
+**Sample Problem 9-8c**
+The final velocity of the rocket is 4346.382596m/s
\ No newline at end of file diff --git a/24/CH9/EX9.9/Example9_9.sce b/24/CH9/EX9.9/Example9_9.sce new file mode 100755 index 000000000..ec1d9625a --- /dev/null +++ b/24/CH9/EX9.9/Example9_9.sce @@ -0,0 +1,12 @@ +//Given that
+m = 4.0* 10^-6 //in kg
+l = 0.77 * 10^-3 //in meter
+h = 0.30 //in m
+g = 9.8 //in m/s^2
+
+//Sample Problem 9-9
+printf("**Sample Problem 9-9**\n")
+//Using Work-Energy theorem
+//F * l = mgh
+F = m* g* h/l
+printf("The external force on the betal is %fN", F)
\ No newline at end of file diff --git a/24/CH9/EX9.9/Example9_9_result.txt b/24/CH9/EX9.9/Example9_9_result.txt new file mode 100755 index 000000000..3f838c3ca --- /dev/null +++ b/24/CH9/EX9.9/Example9_9_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 9-9**
+The external force on the betal is 0.015273N
\ No newline at end of file |