summaryrefslogtreecommitdiff
path: root/539/CH6/EX6.3.a/Example_6_3a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /539/CH6/EX6.3.a/Example_6_3a.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 '539/CH6/EX6.3.a/Example_6_3a.sce')
-rwxr-xr-x539/CH6/EX6.3.a/Example_6_3a.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/539/CH6/EX6.3.a/Example_6_3a.sce b/539/CH6/EX6.3.a/Example_6_3a.sce
new file mode 100755
index 000000000..d8882fd86
--- /dev/null
+++ b/539/CH6/EX6.3.a/Example_6_3a.sce
@@ -0,0 +1,20 @@
+clear;
+clc;
+
+printf("\tExample 6.3\n");
+
+//From draph in the question
+//stress and strain can be obtained
+
+si2=150; // in MPa
+si1=0;
+e2=0.0016;
+e1=0;
+d0=12.8*10^-3; //Initial Diameter in m
+
+printf("\n\tPart A");
+//Young's Modulus = stress/strain
+E=(si2-si1)/(e2-e1);
+printf("\nModulus of elasticity is %.2f GPa",E/10^3);
+
+//End \ No newline at end of file