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 /1898/CH4/EX4.10 | |
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 '1898/CH4/EX4.10')
-rwxr-xr-x | 1898/CH4/EX4.10/Ex4_10.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1898/CH4/EX4.10/Ex4_10.sce b/1898/CH4/EX4.10/Ex4_10.sce new file mode 100755 index 000000000..43b1fbd35 --- /dev/null +++ b/1898/CH4/EX4.10/Ex4_10.sce @@ -0,0 +1,27 @@ +clear all; clc;
+
+disp("Scilab Code Ex 4.10 : ")
+
+//Given:
+T1 = 30; //degree celcius
+T2 = 60;//degress celcius
+l_ab = 1;//m
+area = 10*10*10^-6; //m^2
+alpha = 12*10^-6;// per degree celcius
+E = 200*10^6; //kPa
+
+//Equilibrium:
+//F_a = F_b = F
+
+del_T = T2-T1;
+F = alpha*del_T*area*E; //Thermal Stress Formula
+
+avg_normal_comp_stress = (F*10^-3)/area; // sigma = F/A
+
+//Display:
+
+printf("\n\nThe force at A and B = %1.1f kN",F);
+printf('\nThe average normal compressive stress = %1.1f MPa',avg_normal_comp_stress);
+
+
+//-------------------------------------------------------------------END--------------------------------------------------------------------------------------
|