summaryrefslogtreecommitdiff
path: root/2744/CH2/EX2.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2744/CH2/EX2.7
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2744/CH2/EX2.7')
-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);