diff options
Diffstat (limited to '24/CH10')
-rwxr-xr-x | 24/CH10/EX10.1/Example10_1.sce | 26 | ||||
-rwxr-xr-x | 24/CH10/EX10.1/Example10_1_result.txt | 9 | ||||
-rwxr-xr-x | 24/CH10/EX10.2/Example10_2.sce | 14 | ||||
-rwxr-xr-x | 24/CH10/EX10.2/Example10_2_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH10/EX10.3/Example10_3.sce | 24 | ||||
-rwxr-xr-x | 24/CH10/EX10.3/Example10_3_result.txt | 7 | ||||
-rwxr-xr-x | 24/CH10/EX10.4/Example10_4.sce | 17 | ||||
-rwxr-xr-x | 24/CH10/EX10.4/Example10_4_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH10/EX10.5/Example10_5.sce | 14 | ||||
-rwxr-xr-x | 24/CH10/EX10.5/Example10_5_result.txt | 5 |
10 files changed, 120 insertions, 0 deletions
diff --git a/24/CH10/EX10.1/Example10_1.sce b/24/CH10/EX10.1/Example10_1.sce new file mode 100755 index 000000000..ba9658406 --- /dev/null +++ b/24/CH10/EX10.1/Example10_1.sce @@ -0,0 +1,26 @@ +exec("degree_rad.sci",-1)
+
+//Given that
+m = 140 * 10^-3 //in kg
+Vi = -39 //in m/s
+Vf = 39 //in m/s
+
+//Sample Problem 10-1a
+printf("**Sample Problem 10-1a**\n")
+//J = Pf - Pi
+J = m *(Vf - Vi)
+printf("The magnitude of impulse acted on the ball from bat is equal to %fN-s\n", J)
+
+//Sample Problem 10-1b
+printf("\n**Sample Problem 10-1b**\n")
+t = 1.20* 10^-3 //in sec
+Favg = J/t
+printf("The average force during the collision is %fN\n", Favg)
+
+//Sample Problem 10-1c
+printf("\n**Sample Problem 10-1c**\n")
+Vf = 45* [cos(dtor(30)), sin(dtor(30))]
+Vi = [-39, 0]
+J = m* (Vf - Vi)
+printf("The magnitude of new inpulse is %fN-s\n", norm(J))
+printf("The new impulse makes an angle of %f degress with the horizontal", rtod(atan(J(2)/ J(1))))
\ No newline at end of file diff --git a/24/CH10/EX10.1/Example10_1_result.txt b/24/CH10/EX10.1/Example10_1_result.txt new file mode 100755 index 000000000..2bf084cba --- /dev/null +++ b/24/CH10/EX10.1/Example10_1_result.txt @@ -0,0 +1,9 @@ +**Sample Problem 10-1a**
+The magnitude of impulse acted on the ball from bat is equal to 10.920000N-s
+
+**Sample Problem 10-1b**
+The average force during the collision is 9100.000000N
+
+**Sample Problem 10-1c**
+The magnitude of new inpulse is 11.361368N-s
+The new impulse makes an angle of 16.096463 degress with the horizontal
\ No newline at end of file diff --git a/24/CH10/EX10.2/Example10_2.sce b/24/CH10/EX10.2/Example10_2.sce new file mode 100755 index 000000000..5512a7fec --- /dev/null +++ b/24/CH10/EX10.2/Example10_2.sce @@ -0,0 +1,14 @@ +//Given that
+M = 5.4 //in kg
+m = 9.5* 10^-3 //in kg
+g = 9.8 //in m/s^2
+h = 6.3* 10^-2 //in meter
+
+//Sample Problem 10-2
+printf("**Sample Problem 10-2**\n")
+//Mechanical energy conservation-
+//0.5*(M+m)*Va^2 = (M+m)*g*h
+Va = sqrt(g*h/0.5)
+//Momentum conservation for the collision
+Vb = (M+m)*Va/m
+printf("The velocity of the bullet before collision is %fm/s", Vb)
\ No newline at end of file diff --git a/24/CH10/EX10.2/Example10_2_result.txt b/24/CH10/EX10.2/Example10_2_result.txt new file mode 100755 index 000000000..3b14c57c6 --- /dev/null +++ b/24/CH10/EX10.2/Example10_2_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 10-2**
+The velocity of the bullet before collision is 632.749529m/s
\ No newline at end of file diff --git a/24/CH10/EX10.3/Example10_3.sce b/24/CH10/EX10.3/Example10_3.sce new file mode 100755 index 000000000..1700b7509 --- /dev/null +++ b/24/CH10/EX10.3/Example10_3.sce @@ -0,0 +1,24 @@ +//Given that
+m1 = 0.70 //in kg
+m = [0.14, 3.2] //in kg
+k = [4.1* 10^4, 2.6* 10^6] //in N/m
+d = [16* 10^-3, 1.1* 10^-3] //in meter
+
+//Sample Problem 10-3a
+printf("**Sample Problem 10-3a**\n")
+name = ['board', 'block']
+U = zeros(2,1)
+for count = 1:2
+ U(count) = 0.5* k(count)* d(count)^2
+ printf("The energy stored in %s is %fJ\n", name(count), U(count))
+end
+
+//Sample Problem 10-3b
+printf("\n**Sample Problem 10-3b**\n")
+for count = 1:2
+ //Energy conservation
+ Vf = sqrt(U(count)/(0.5*(m1+m(count))))
+ //Momentum conservation
+ Vi = (m1 + m(count))*Vf/m1
+ printf("The minimum velocity required to break the %s is %fm/s\n", name(count), Vi)
+end
\ No newline at end of file diff --git a/24/CH10/EX10.3/Example10_3_result.txt b/24/CH10/EX10.3/Example10_3_result.txt new file mode 100755 index 000000000..e7fd5c270 --- /dev/null +++ b/24/CH10/EX10.3/Example10_3_result.txt @@ -0,0 +1,7 @@ +**Sample Problem 10-3a**
+The energy stored in board is 5.248000J
+The energy stored in block is 1.573000J
+
+**Sample Problem 10-3b**
+The minimum velocity required to break the board is 4.241832m/s
+The minimum velocity required to break the block is 5.003958m/s
\ No newline at end of file diff --git a/24/CH10/EX10.4/Example10_4.sce b/24/CH10/EX10.4/Example10_4.sce new file mode 100755 index 000000000..aacb42edb --- /dev/null +++ b/24/CH10/EX10.4/Example10_4.sce @@ -0,0 +1,17 @@ +exec('collision.sci', -1)
+
+//Given that
+m1 = 30*10^-3 //in kg
+h1 = 8*10^-2 //in m
+m2 = 75*10^-3 //in kg
+g = 9.8 //in m/s^2
+e = 1
+
+//Sample Problem 10-4
+printf("**Sample Problem 10-4**\n")
+//velocity just before collision
+Vi = zeros(1,2)
+Vi(1) = sqrt(2*g*h1)
+Vi(2) = 0
+Vf= fsolve([0,0], collision)
+printf("The velocity of m1 after collision is %fm/s", abs(Vf(1)))
\ No newline at end of file diff --git a/24/CH10/EX10.4/Example10_4_result.txt b/24/CH10/EX10.4/Example10_4_result.txt new file mode 100755 index 000000000..0e64a930c --- /dev/null +++ b/24/CH10/EX10.4/Example10_4_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 10-4**
+The velocity of m1 after collision is 0.536656m/s
\ No newline at end of file diff --git a/24/CH10/EX10.5/Example10_5.sce b/24/CH10/EX10.5/Example10_5.sce new file mode 100755 index 000000000..cc543c74b --- /dev/null +++ b/24/CH10/EX10.5/Example10_5.sce @@ -0,0 +1,14 @@ +//Given that
+Ma = 83 //in kg
+Va = [6.2, 0] //in km/h
+Mb = 55 //in kg
+Vb = [0, 7.8] //in km/h
+
+//Sample Problem 10-5a
+printf("**Sample Problem 10-5a**\n")
+Vf = (Ma*Va + Mb*Vb)/(Ma+Mb)
+printf("The common velocity after the collision is %fm/s\n", norm(Vf))
+
+//Sample Problem 10-5b
+printf("\n**Sample Problem 10-5**\n")
+printf("The velocity of center of mass is not altered due to collision")
\ No newline at end of file diff --git a/24/CH10/EX10.5/Example10_5_result.txt b/24/CH10/EX10.5/Example10_5_result.txt new file mode 100755 index 000000000..5eb25e801 --- /dev/null +++ b/24/CH10/EX10.5/Example10_5_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 10-5a**
+The common velocity after the collision is 4.854825m/s
+
+**Sample Problem 10-5**
+The velocity of center of mass is not altered due to collision
\ No newline at end of file |