summaryrefslogtreecommitdiff
path: root/409/CH1/EX1.4/Example1_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '409/CH1/EX1.4/Example1_4.sce')
-rwxr-xr-x409/CH1/EX1.4/Example1_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/409/CH1/EX1.4/Example1_4.sce b/409/CH1/EX1.4/Example1_4.sce
new file mode 100755
index 000000000..f0983ffc4
--- /dev/null
+++ b/409/CH1/EX1.4/Example1_4.sce
@@ -0,0 +1,16 @@
+clear ;
+clc;
+
+// Example 1.4
+printf('Example 1.4\n\n');
+//Page no. 19
+// Solution
+
+// Potential Energy = mgh
+// Assume 100 lb means 100 lb mass
+m = 100;//[lb]
+g = 32.2 ;//[ft/second square]
+h = 10 ;//[ft]
+gc = 32.174 ;//[(ft*lbm)/(second square/lbf)]
+pe = (m*(g/gc)*h) ;//[ft*lbf]
+printf('Potential Energy is equal to %i (ft)(lbf).\n',pe); \ No newline at end of file