diff options
Diffstat (limited to '2510/CH3/EX3.3/Ex3_3.sce')
-rwxr-xr-x | 2510/CH3/EX3.3/Ex3_3.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2510/CH3/EX3.3/Ex3_3.sce b/2510/CH3/EX3.3/Ex3_3.sce new file mode 100755 index 000000000..2eff7559d --- /dev/null +++ b/2510/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,22 @@ +//Variable Declaration: +Q1 = 32.2 //Gravitational acceleration (ft/s^2) (part 1) +CF = 32.2 //Conversion factor (lb.ft/lbf.s^2) +M = 100 //Mass (lb) +SA = 3 //Surface area (in^2) +FsIs = (1.0/12.0)**2 //Feet square in a inch square +Q2 = 14.7 //Atmospheric pressure (psi) (part 2) +GP = 35 //Gauge Pressure (psig) + +//Caculations: +F = M*Q1/CF //Force (lbf) +P = F/SA/FsIs //Pressure at the base (lbf/ft^2) +Pa = GP+Q2 //Absolute pressure (psia) + +//Results: +disp("1. Pressure at the base is:") +disp(P) +disp("lbf/ft^2") + +disp("2. Absolute pressure is:") +disp(Pa) +disp("psia") |