From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 24/CH8/EX8.1/Example8_1.sce | 11 +++++++++++ 24/CH8/EX8.1/Example8_1_result.txt | 2 ++ 24/CH8/EX8.2/Example8_2.sce | 21 +++++++++++++++++++++ 24/CH8/EX8.2/Example8_2_result.txt | 8 ++++++++ 24/CH8/EX8.3/Example8_3.sce | 11 +++++++++++ 24/CH8/EX8.3/Example8_3_result.txt | 2 ++ 24/CH8/EX8.4/Example8_4.sce | 15 +++++++++++++++ 24/CH8/EX8.4/Example8_4_result.txt | 2 ++ 24/CH8/EX8.5/Example8_5.sce | 35 +++++++++++++++++++++++++++++++++++ 24/CH8/EX8.5/Example8_5_result.txt | 9 +++++++++ 24/CH8/EX8.6/Example8_6.sce | 19 +++++++++++++++++++ 24/CH8/EX8.6/Example8_6_result.txt | 5 +++++ 24/CH8/EX8.7/Example8_7.sce | 17 +++++++++++++++++ 24/CH8/EX8.7/Example8_7_result.txt | 2 ++ 24/CH8/EX8.8/Example8_8.sce | 15 +++++++++++++++ 24/CH8/EX8.8/Example8_8_result.txt | 2 ++ 16 files changed, 176 insertions(+) create mode 100755 24/CH8/EX8.1/Example8_1.sce create mode 100755 24/CH8/EX8.1/Example8_1_result.txt create mode 100755 24/CH8/EX8.2/Example8_2.sce create mode 100755 24/CH8/EX8.2/Example8_2_result.txt create mode 100755 24/CH8/EX8.3/Example8_3.sce create mode 100755 24/CH8/EX8.3/Example8_3_result.txt create mode 100755 24/CH8/EX8.4/Example8_4.sce create mode 100755 24/CH8/EX8.4/Example8_4_result.txt create mode 100755 24/CH8/EX8.5/Example8_5.sce create mode 100755 24/CH8/EX8.5/Example8_5_result.txt create mode 100755 24/CH8/EX8.6/Example8_6.sce create mode 100755 24/CH8/EX8.6/Example8_6_result.txt create mode 100755 24/CH8/EX8.7/Example8_7.sce create mode 100755 24/CH8/EX8.7/Example8_7_result.txt create mode 100755 24/CH8/EX8.8/Example8_8.sce create mode 100755 24/CH8/EX8.8/Example8_8_result.txt (limited to '24/CH8') diff --git a/24/CH8/EX8.1/Example8_1.sce b/24/CH8/EX8.1/Example8_1.sce new file mode 100755 index 000000000..ce8808a01 --- /dev/null +++ b/24/CH8/EX8.1/Example8_1.sce @@ -0,0 +1,11 @@ +//Given that +h = 0.8 //in meter +l = 2.0 //in meter +m = 2 //in kg +g = 9.8 //in m/s^2 + +//Sample Problem 8-1 +printf("**Sample Problem 8-1**\n") +//Using the definition of +Wg = m* g* h +printf("The work done by the gravity is %eJ", Wg) \ No newline at end of file diff --git a/24/CH8/EX8.1/Example8_1_result.txt b/24/CH8/EX8.1/Example8_1_result.txt new file mode 100755 index 000000000..81f808a67 --- /dev/null +++ b/24/CH8/EX8.1/Example8_1_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 8-1** +The work done by the gravity is 1.568000e+001J \ No newline at end of file diff --git a/24/CH8/EX8.2/Example8_2.sce b/24/CH8/EX8.2/Example8_2.sce new file mode 100755 index 000000000..efe8e106c --- /dev/null +++ b/24/CH8/EX8.2/Example8_2.sce @@ -0,0 +1,21 @@ +//Given that +mass = 2 //in kg +y1 = 5 //in meter +g = 9.8 //in m/s^2 +ref = [0, 3, 5, 6] + +//Sample Problem 8-2a +printf("**Sample Problem 8-2a**\n") +for x = ref + U = mass* g* (y1 - x) + printf("The potential energy at y1 is %dJ if reference is assumed to be at y=%d\n", U, x) +end + +//sample Probelm 8-2b +printf("\n**Sample Problem 8-2b**\n") +y2 = 0 +//The change in potential energy doesn't depend on choice of reference +deltaY = y2 - y1 +//because the deltaY doesn't depend upon the choice of references +deltaU = mass* g* deltaY +printf("The change in potential energy is %dJ same for all the references", deltaU) \ No newline at end of file diff --git a/24/CH8/EX8.2/Example8_2_result.txt b/24/CH8/EX8.2/Example8_2_result.txt new file mode 100755 index 000000000..4586169da --- /dev/null +++ b/24/CH8/EX8.2/Example8_2_result.txt @@ -0,0 +1,8 @@ +**Sample Problem 8-2a** +The potential energy at y1 is 98J if reference is assumed to be at y=0 +The potential energy at y1 is 39J if reference is assumed to be at y=3 +The potential energy at y1 is 0J if reference is assumed to be at y=5 +The potential energy at y1 is -19J if reference is assumed to be at y=6 + +**Sample Problem 8-2b** +The change in potential energy is -98J same for all the references \ No newline at end of file diff --git a/24/CH8/EX8.3/Example8_3.sce b/24/CH8/EX8.3/Example8_3.sce new file mode 100755 index 000000000..1a37c1761 --- /dev/null +++ b/24/CH8/EX8.3/Example8_3.sce @@ -0,0 +1,11 @@ +//Given that +h = 8.5 //in meter\ +g = 9.8 //in m/s^2 + +//Sample Problem 8-3 +printf("**Sample Problem 8-3**\n") +//Using conservation of energy +//Change in Potential energy = Change in Kinetic energy +//m* g* h = .5* m* v^2 +v = sqrt(2* g * h) +printf("The velocity of child at the bottom will be %fm/s", v) \ No newline at end of file diff --git a/24/CH8/EX8.3/Example8_3_result.txt b/24/CH8/EX8.3/Example8_3_result.txt new file mode 100755 index 000000000..3ea1fedbe --- /dev/null +++ b/24/CH8/EX8.3/Example8_3_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 8-3** +The velocity of child at the bottom will be 12.907362m/s \ No newline at end of file diff --git a/24/CH8/EX8.4/Example8_4.sce b/24/CH8/EX8.4/Example8_4.sce new file mode 100755 index 000000000..627655a96 --- /dev/null +++ b/24/CH8/EX8.4/Example8_4.sce @@ -0,0 +1,15 @@ +//Given that +m = 61 //in kg +Hi = 45 //in meter +L = 25 //in meter +k = 160 //in N/m +g = 9.8 //in m/s^2 + +//Sample Problem 8-4 +printf("**Sample Problem 8-4**\n") +//Assume that the jumper goes x meter down the bridge +//Using energy conservation energy +s=poly(0,"s") +p = .5*k*(s-25)^2 - m*g*s //equal to 0 +x = roots(p) +printf("The height fell down is %fm", x(2)) \ No newline at end of file diff --git a/24/CH8/EX8.4/Example8_4_result.txt b/24/CH8/EX8.4/Example8_4_result.txt new file mode 100755 index 000000000..4a9ac41e3 --- /dev/null +++ b/24/CH8/EX8.4/Example8_4_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 8-4** +The height fell down is 42.905656m \ No newline at end of file diff --git a/24/CH8/EX8.5/Example8_5.sce b/24/CH8/EX8.5/Example8_5.sce new file mode 100755 index 000000000..b4148d647 --- /dev/null +++ b/24/CH8/EX8.5/Example8_5.sce @@ -0,0 +1,35 @@ +//Given that +n = 25 +Ms = 9000 //in kg +Mm = 80 //in kg +d = [45, 10000] //in meter +t = 2 //in minute +g = 9.8 //in m/s^2 + +//Sample Problem 8-5 +count = 0 +for x = d + //Sample Problem 8-5a + if count == 0 then + printf("**Sample Problem 8-5a**\n") + count = count + 1 + end + //We can assume that the force applied by each of man is equal to twice his weight + Wnet = n * (2* Mm * g) * x + printf("The total work done is equal to %eJ\n", Wnet) + + //Sample Problem 8-5b + if count == 1 then + printf("\n**Sample Problem 8-5b**\n") + count = count + 1 + end + //All the work done must be converted into thermal energy + TE = Wnet + printf("The total thermal energy generated is equal to %eJ\n", TE) + + //Sample Problem 8-5c + if count == 2 then + printf("\n**Sample Problem 8-5c**\n") + count = count + 1 + end +end \ No newline at end of file diff --git a/24/CH8/EX8.5/Example8_5_result.txt b/24/CH8/EX8.5/Example8_5_result.txt new file mode 100755 index 000000000..3aa182475 --- /dev/null +++ b/24/CH8/EX8.5/Example8_5_result.txt @@ -0,0 +1,9 @@ +**Sample Problem 8-5a** +The total work done is equal to 1.764000e+006J + +**Sample Problem 8-5b** +The total thermal energy generated is equal to 1.764000e+006J + +**Sample Problem 8-5c** +The total work done is equal to 3.920000e+008J +The total thermal energy generated is equal to 3.920000e+008J \ No newline at end of file diff --git a/24/CH8/EX8.6/Example8_6.sce b/24/CH8/EX8.6/Example8_6.sce new file mode 100755 index 000000000..f85f6a692 --- /dev/null +++ b/24/CH8/EX8.6/Example8_6.sce @@ -0,0 +1,19 @@ +//Given that +m = 14 //in kg +F = 40 //in N +d = 0.50 //in meter +Vo = 0.60 //in m/s +V = 0.20 //in m/s + +//Sample Problem 8-6a +printf("**Sample Problem 8-6a**\n") +//Using the definition of Work done +Wf = F* d +printf("The work done by the force F is equal to %dJ\n", Wf) + +//Sample Problem 8-6b +printf("\n**Sample Problem 8-6b**\n") +//Using Work-Energy theorem +//TE = decrease in Kinetic Energy + Work done by the force F +TE = .5*m*(Vo^2 - V^2) + Wf +printf("The incrase in the thermal energy is equal to %fJ", TE) \ No newline at end of file diff --git a/24/CH8/EX8.6/Example8_6_result.txt b/24/CH8/EX8.6/Example8_6_result.txt new file mode 100755 index 000000000..c91098f95 --- /dev/null +++ b/24/CH8/EX8.6/Example8_6_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 8-6a** +The work done by the force F is equal to 20J + +**Sample Problem 8-6b** +The incrase in the thermal energy is equal to 22.240000J \ No newline at end of file diff --git a/24/CH8/EX8.7/Example8_7.sce b/24/CH8/EX8.7/Example8_7.sce new file mode 100755 index 000000000..65009de85 --- /dev/null +++ b/24/CH8/EX8.7/Example8_7.sce @@ -0,0 +1,17 @@ +//Given that +mass = 2.0 //in kg +v1 = 4.0 //in m/s^2 +Ff = 15 //in N +k = 10^4 //in N/m + +//Sample Problem 8-7 +printf("**Sample Problem 8-7**\n") +//Using energy conservation +//Ki = Uf + TEf +Ki = .5* mass* v1^2 +//Uf = .5*k*x^2 +//TEf = Ff* x +s=poly(0,"s") +p = .5*k*s^2 + Ff* s - Ki +x = roots(p) +printf("The compression in the spring is equal to %fcm", x(1)*100) \ No newline at end of file diff --git a/24/CH8/EX8.7/Example8_7_result.txt b/24/CH8/EX8.7/Example8_7_result.txt new file mode 100755 index 000000000..3af932970 --- /dev/null +++ b/24/CH8/EX8.7/Example8_7_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 8-7** +The compression in the spring is equal to 5.508843cm \ No newline at end of file diff --git a/24/CH8/EX8.8/Example8_8.sce b/24/CH8/EX8.8/Example8_8.sce new file mode 100755 index 000000000..34dfc33ea --- /dev/null +++ b/24/CH8/EX8.8/Example8_8.sce @@ -0,0 +1,15 @@ +//Given that +m = 6.0 //in kg +Vo = 7.8 //in m/s +Yo = 8.5 //in meter +Y = 11.1 //in meter +g = 9.8 //in m/s^2 + +//Sample Problem 8-8 +printf("**Sample Problem 8-8**\n") +//initial mechanical energy +Mi = .5* m* Vo^2 + m* g* Yo +//final mechanical energy +Mf = 0 + m* g* Y +Eth = Mi - Mf +printf("The thermal energy generated is equal to %fJ", Eth) \ No newline at end of file diff --git a/24/CH8/EX8.8/Example8_8_result.txt b/24/CH8/EX8.8/Example8_8_result.txt new file mode 100755 index 000000000..f9005a440 --- /dev/null +++ b/24/CH8/EX8.8/Example8_8_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 8-8** +The thermal energy generated is equal to 29.640000J \ No newline at end of file -- cgit