diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /539/CH6/EX6.1/Example_6_1.sce | |
download | Scilab-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.1/Example_6_1.sce')
-rwxr-xr-x | 539/CH6/EX6.1/Example_6_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/539/CH6/EX6.1/Example_6_1.sce b/539/CH6/EX6.1/Example_6_1.sce new file mode 100755 index 000000000..11bef4ea8 --- /dev/null +++ b/539/CH6/EX6.1/Example_6_1.sce @@ -0,0 +1,17 @@ +//Elongation (Elastic) Computation
+
+clear;
+clc;
+
+printf("\tExample 6.1\n");
+
+E=110*10^3; //Young's modulus of Copper in MPa
+sigma=276; //Applied stress in MPa
+lo=305; //Original length in mm
+
+//Deformation
+dl=sigma*lo/E;
+
+printf("\nElongation obtained is %.2f mm \n",dl);
+
+//End
\ No newline at end of file |