summaryrefslogtreecommitdiff
path: root/2417/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2417/CH2/EX2.4/Ex2_4.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
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)