summaryrefslogtreecommitdiff
path: root/2417/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2417/CH2/EX2.4/Ex2_4.sce')
-rwxr-xr-x2417/CH2/EX2.4/Ex2_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2417/CH2/EX2.4/Ex2_4.sce b/2417/CH2/EX2.4/Ex2_4.sce
new file mode 100755
index 000000000..e47b333fa
--- /dev/null
+++ b/2417/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+printf("\t\t\tProblem Number 2.4\n\n\n");
+// Chapter 2: Work, Energy, and Heat
+// Problem 2.4 (page no. 66)
+// Solution
+
+//Given
+Z=600; //Unit:ft //Z=The distance,the body is raised from its initial position when the force is applied
+gc=32.174; //Unit: (lbm*ft)/(lbf*s^2) //gc is constant of proportionality
+g=gc; //Unit:ft/s^2 //g=The local gravity
+m=1; //Unit:lbm //m=mass
+PE=(m*g*Z)/gc; //potential energy //Unit:ft*lbf
+printf("%f ft*lbf work is done lifting the water to elevation ",PE)