summaryrefslogtreecommitdiff
path: root/409/CH1/EX1.4/Example1_4.sce
blob: f0983ffc4bd7d440a012ce442167fb760a691909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);