summaryrefslogtreecommitdiff
path: root/896/CH2/EX2.6/6.sce
diff options
context:
space:
mode:
Diffstat (limited to '896/CH2/EX2.6/6.sce')
-rwxr-xr-x896/CH2/EX2.6/6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/896/CH2/EX2.6/6.sce b/896/CH2/EX2.6/6.sce
new file mode 100755
index 000000000..86af25787
--- /dev/null
+++ b/896/CH2/EX2.6/6.sce
@@ -0,0 +1,10 @@
+clc
+//calc atm pressure on a storage tank roof
+p_atm=14.7;//psia
+//diameter of roof is 120ft
+d_roof=120;//ft
+//force=(pressure)*(area)
+f_roof=p_atm*(%pi)*d_roof^2/4*144;//lbf ;144 because 1ft=12inch
+disp("Force exerted by atmosphere on the roof is")
+disp(f_roof)
+disp("lbf") \ No newline at end of file