summaryrefslogtreecommitdiff
path: root/3863/CH2/EX2.11/Ex2_11.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3863/CH2/EX2.11/Ex2_11.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3863/CH2/EX2.11/Ex2_11.sce')
-rw-r--r--3863/CH2/EX2.11/Ex2_11.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3863/CH2/EX2.11/Ex2_11.sce b/3863/CH2/EX2.11/Ex2_11.sce
new file mode 100644
index 000000000..1b1190ccc
--- /dev/null
+++ b/3863/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,20 @@
+clear
+//Given
+//Variable declaration
+A=8*8 //Area of section in sq.mm
+P=7000 //Axial pull in N
+Ldo=8 //Original Lateral dimension in mm
+Ldc=7.9985 //Changed Lateral dimension in mm
+C=0.8e5 //modulus of rigidity in N/sq.mm
+
+//Calculation
+lat_strain=(Ldo-Ldc)/Ldo //Lateral strain
+sigma=P/A //Axial stress in N/sq.mm
+mu=(1/((sigma/lat_strain)/(2*C)-1)) //Poisson's ratio
+
+E=((sigma/lat_strain)/((sigma/lat_strain)/(2*C)-1)) //Modulus of elasticity in N/sq.mm
+
+
+//Result
+printf("\n Modulus of elasticity = %.4e N/mm^2",E)
+