summaryrefslogtreecommitdiff
path: root/3456/CH2/EX2.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3456/CH2/EX2.3
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 '3456/CH2/EX2.3')
-rw-r--r--3456/CH2/EX2.3/Ex2_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3456/CH2/EX2.3/Ex2_3.sce b/3456/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..4c0b75afb
--- /dev/null
+++ b/3456/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,15 @@
+//Example 2.3
+//Calculation of Stresses from elastic strains
+//Page No. 52
+clc;clear;close;
+
+E=200; //in GPa
+nu=0.33; //no unit
+e1=0.004; //no unit
+e2=0.001; //no unit
+sigma1=E*(e1+nu*e2)/(1-nu^2);
+sigma2=E*(e2+nu*e1)/(1-nu^2);
+sigma1=sigma1*1000; //conversion to MPa
+sigma2=sigma2*1000; //conversion to MPa
+printf('\nsigma1 = %g MPa\nsigma2 = %g MPa\n',sigma1,sigma2);
+printf('\nNote: Slight calculation errors in Book')