summaryrefslogtreecommitdiff
path: root/2510/CH6/EX6.4/Ex6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH6/EX6.4/Ex6_4.sce')
-rwxr-xr-x2510/CH6/EX6.4/Ex6_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2510/CH6/EX6.4/Ex6_4.sce b/2510/CH6/EX6.4/Ex6_4.sce
new file mode 100755
index 000000000..62aa508f7
--- /dev/null
+++ b/2510/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,16 @@
+//Variable declaration:
+S = 3/4 //Tube size (in)
+BWG = 16 //Birmingham Wire Gauge number (gauge)
+
+//calculation:
+//From table 6.3, we get:
+ID = 0.620 //Internal diameter of tube (in)
+WT = 0.065 //Wall thickness of tube (in)
+OD = ID+2*WT //Outside diameter of tube (in)
+EA = 0.1963 //External area per foot (ft)
+
+//Result:
+printf("The inside diameter is : %f in",ID)
+printf("The wall thickness is : %f in",WT)
+printf("The outside diamater is : %f in",OD)
+printf("The external area per foot per foot : %f ft",EA)