summaryrefslogtreecommitdiff
path: root/2744/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2744/CH2/EX2.7/Ex2_7.sce')
-rwxr-xr-x2744/CH2/EX2.7/Ex2_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2744/CH2/EX2.7/Ex2_7.sce b/2744/CH2/EX2.7/Ex2_7.sce
new file mode 100755
index 000000000..9579b1620
--- /dev/null
+++ b/2744/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,12 @@
+clear;
+clc;
+a = 2;//inches
+l = 6;//inches
+E = 13000;//tons/In^2
+m = 1/0.3;
+P = 20;//tons
+p_1 = P/a^2;//tons/in^2
+p_2 = p_1/(2*(m-1));//tons/in^2
+e_1 = (5-0.6*p_2)/E;//tons/in^2
+del_l = e_1*l;//inches
+printf('The contraction in the length del_l = %.5f inches',del_l);