summaryrefslogtreecommitdiff
path: root/2417/CH2/EX2.5/Ex2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2417/CH2/EX2.5/Ex2_5.sce')
-rwxr-xr-x2417/CH2/EX2.5/Ex2_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2417/CH2/EX2.5/Ex2_5.sce b/2417/CH2/EX2.5/Ex2_5.sce
new file mode 100755
index 000000000..1028513ae
--- /dev/null
+++ b/2417/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+printf("\t\t\tProblem Number 2.5\n\n\n");
+// Chapter 2: Work, Energy, and Heat
+// Problem 2.5 (page no. 66)
+// Solution
+
+
+m=1; //Unit:kg //m=mass
+g= 9.81 //Unit:m/s^2 //g=The local gravity
+Z=50 //Unit:m ////Z=The distance,the body is raised from its initial position when the force is applied //In this case Z=delivered water from well to pump
+PE=m*g*Z; //PE=Potential Energy //Unit:Joule
+printf("Change in potential energy per kg of water is %f J ",PE); //J=Joule=N*m=kg*m^2/s^2