summaryrefslogtreecommitdiff
path: root/3257/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3257/CH2/EX2.4/Ex2_4.sce
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 '3257/CH2/EX2.4/Ex2_4.sce')
-rwxr-xr-x3257/CH2/EX2.4/Ex2_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3257/CH2/EX2.4/Ex2_4.sce b/3257/CH2/EX2.4/Ex2_4.sce
new file mode 100755
index 000000000..a067740d1
--- /dev/null
+++ b/3257/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,14 @@
+// Elimination of stress by tension
+clc
+sigma_t = 140 // in MPa
+sigma_c = -140 // in MPa
+l = 0.25 // length of specimen in m
+Y = 150 // yield stress of material in MPa
+E = 70 // Youngs modulus in GPa
+printf("\ Example 2.4")
+epsilon_tot = (sigma_c*1e6)/(E*1e9) + Y*1e6/(E*1e9) // total strain
+l_f = l*exp(epsilon_tot)
+
+printf("\n Stretched length should be %0.4f m",l_f)
+// Numerical value of answer in book is 0.2510
+